James G. Sack (jim) wrote:
John H. Robinson, IV wrote:
..
$ a="one two three"; program $a

 a="'one two three'"; program "$a"

I had unnecessary double quoting
 a="one two three"; program "$a"
works

..j

For interested bystanders, I contribute the following script which I keep in

/usr/bin/argview
---------------------------------------------------
#!/bin/sh

##[ $# -gt 0 ] || set "abc" "def ghi"


echo "$# args: ($@)"
ii=0
while [ $# -gt 0 ]
do
    echo "arg $((++ii))='$1'"
    shift
done
#===eof===
---------------------------------------------------


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to