[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU coreutils 6.9 - not a bug in ls =)
From: |
Eric Blake |
Subject: |
Re: GNU coreutils 6.9 - not a bug in ls =) |
Date: |
Mon, 10 Sep 2007 06:07:47 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Please keep replies on the list, so that others may chime in or benefit
from the archives.
According to FReeZ on 9/9/2007 10:05 AM:
> Thank you a lot Eric,
>
> that FAQ is directly what I have needed, I wonder why the links are not
> included in the man. I haven't meant 'ls -- *', because it displays the
> filenames recursivelly, while 'ls *' simply displays the filenames from
> the current directory only, and using multi-column layout. Perhaps I
> need to read more about the patterns, so I'll do.
You are misunderstanding. 'ls -- *' and 'ls *' are identical, except when
* expands to a file that ls recognizes as a potential option. The whole
point of -- is to separate options from problematic file names. Perhaps
you are getting confused with 'ls -R -- *'?
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG5TOS84KuGfSFAYARAqhVAJ9BEY3UacUbAg/YZRtHI2qozIWO8ACg1gq2
3suNATbkrH9X8CWDgFEE2Z4=
=jyiV
-----END PGP SIGNATURE-----