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

[ale] Partial interpretation in a bash script



I use a script to launch my browser.  I pass all the arguments to the script 
on to the actual browser, using $*.  Naturally, some arguments (URLs) contain 
special symbols (like &) that the shell wants to interpret, but I don't want 
them interpreted.  Specifying the $* in double-quotes ("$*") doesn't prevent 
intpretation.  Using single-quotes should prevent the expansion of $* (though 
I haven't tested it.

What's the correct solution to this?

-- 
David Corbin <dcorbin at machturtle.com>