Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/bin/sh help needed



On Thu, 25 Apr 2002, Rob Ransbottom wrote:

> 
> > > At some point hitherto, David Kramer hath spake thusly:
> > > > Every combination of single quotes, double quotes, and escaping seems to 
> > > > either send it all as one argument, or send it all as separate arguments, 
> > > > but each argument is quoted.
> 
> 
> It appears that single quotes for each parameter are what you want.
> The sh(1) man page is not very illuminating.
> 
> prog '*' '$msg' '\n' 'does all you want EXCEPT' \'

Once again, you are forgetting that what I have is one string with 
space-separated wildcards, not separate parameters.  Separate parameters 
is easy, and I would not proudly display the penguin on my desk if I could 
not figure out how to escape individual parameters.
 
-------------------------------------------------------------------
DDDD   David Kramer                   http://thekramers.net
DK KD  "This must be Thursday", said Arthur to himself, sinking low
DKK D  over his beer.  "I never could get the hang of Thursdays."
DK KD  
DDDD             Douglas Adams, "Hitchhiker's Guide to the Galaxy".





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org