[TAG] Quoting question
robos at muon.de
Sat Jun 13 21:47:07 MSD 2009
Am 13.06.2009 19:16 Uhr, schrieb Kapil Hari Paranjape:
Hello Kapil and TAG,
> Quotes are generally a pain!
>> I'm stumped now, I've tried loots of combinations but can't seem to find
>> the right combination so that the script works. The spaces in the name
>> "Dokumente und Einstellungen" break the script. How do I have to
>> escape/quote it?
> You need to put the $@ in quotes as in "$@"
Argh! I've tried to put in everything in the function call and simply
didn't think about the function itself! <me stupid...>
Thanks a lot!
Udo 'robos' Puetz
> Here is an example:
> show_args "$@"
> echo $1
> echo $2
> pass_args 'An argument with a space' 'spaced out'
More information about the TAG