Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
Old 05-25-2012, 11:44 AM   #1
czucker
Prospect
 
Join Date: Jan 2002
Location: Brooklyn, New York
Posts: 6
First time scripting, ever. . . Help with Automator and Sed

So, please go easy on me.

I'm trying to write an automator action to resize a postscript file.

So far it is set up in automator as follow:


It's working well enough, except for the "$1" variable in sed. Instead of getting the value of the variable, the literal $1 is being inserted into the postscript file.

I know it's probably something obvious that I'd know if I had any clue what I was doing. . . But, I'm trying.

Any help would be appreciated.

Thanks,
Chris
czucker is offline   Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:53 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.