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]

thorny script argument escaping problem



Thanks for the replies.  I thought of a solution shortly after  
sending out my e-mail.  Merely describing a problem to others tends  
to lead to solutions...  I haven't tried it yet but I think I just  
need to re-escape strings that have whitespace in them.  Not the  
whitespace itself but the entire string.  When the shell is passed a  
quoted string, the receiving script should see that string as a  
single argument.  My code that built up the new command line was not  
re-quoting it.  As for getopts, I am familiar with it and am using a  
similar package in Java thus I don't want to recreate that in the  
wrapper script.






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