01-27-07 12:22 PM
Stephane CHAZELAS wrote:
>
> eval "$cmd"
In the given example where cmd="echo abc | grep abc" it makes no
difference whether $cmd is enclosed in quotation marks or not, but
of course, if you want to generalize you should enclose variables
etc. in quotation marks.
Cheers,
--
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
[ Post a follow-up to this message ]
|