shell scripts and comand arguments
jon at witchspace.com
Sun Jun 1 14:53:11 BST 2003
I was making some tweaks to a script I wrote to 'mhonarc' freebsd-*
mailing lists, when I ran into a problem with substitutions. Here's
args="-title \"$title\" -add . -outdir ."
$args expands to
-title "freebsd-ports archive" -add . -outdir .
which is what you'd expect, but mhonarc sees
which confuses it no end.
Is there a simple solution to this problem or must I do it another way?
More information about the Ukfreebsd