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

Re: profile.d [was Re: UMASK 002 or 022?]



Ethan Benson <erbenson@alaska.net> wrote:
>
>> > exec /bin/ls --color-auto $*
>>=20
>> Close. /bin/ls --color=3Dauto "$@"

> well both will work, yours changes the way the arguments are quoted by
> the shell.  yours is arguably safer.

Actually, $* doesn't work in all cases, consider the difference between

ls

and

ls ""
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: