Subject: Re: (s)hell quoting (s)hell
To: None <netbsd-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: netbsd-users
Date: 03/02/2006 12:53:34
Schwerzmann, Stephan --> netbsd-users (2006-03-02 11:13:07 +0100):
[...]
> $ TOOL='find . -name "" '
> $ echo $TOOL
> find . -name ""
> $ set -x ; ${TOOL} ; set +x
> + find . -name '""'
> + set +x
> $

This seems to be bash specific behaviour; NetBSD's sh and ksh both
evaluate $TOOL to `find . -name ""' as expected. So, why don't you
just use one of them instead of bash? ;-)


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~