B"H
On 7/12/05, Tracy R Reed <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Menachem Shapiro wrote:
> > Well then, what about this:
> >
> > for i in `ls *.doc`
> 
> I know several of us are wondering:
> 
> Why this instead of just:
> 
> for i in *.doc
> 
> It's less typing, less chance of ls doing something odd (maybe it's
> aliased or something), and saves the fork/exec of ls.

I don't think I have a good reason, I've just done it that way for a
while now. It's possible that it might have solved some kind of
problem I was having at the time, but I am not sure.

If *.doc is better than `ls *.doc`, you should definitely use *.doc

Menachem


> 
> - --
> Tracy R Reed
> http://ultraviolet.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFC03TB9PIYKZYVAq0RAsSMAJ0Yq3h5gDqEOqoKvmeRWFWOtB2YpgCdE18w
> QyI20DkxH5qg8M5JOJq/0cM=
> =HXhf
> -----END PGP SIGNATURE-----
> 
> 
> --
> [email protected]
> http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
>


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

Reply via email to