[Linux-disciples] Portability and `ls`

Adam Rosi-Kessel adam at rosi-kessel.org
Wed Feb 8 14:49:03 EST 2006


Stephen R Laniel wrote:
> for i in dirName/*
> Is there any reason to use the earlier syntax?

One guess... The * syntax might be subject to globbing vicissitudes. I don't
think dirName/* is always going to give the same result, depending on shopt
settings.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060208/dbcf3aaa/signature.pgp


More information about the Linux-disciples mailing list