Re: ATTN: Maintainer of 'ls' program. Possible minor bug.
From:
Eric Blake
Subject:
Re: ATTN: Maintainer of 'ls' program. Possible minor bug.
Date:
Sat, 06 Feb 2010 22:21:44 -0700
User-agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
According to Rue U on 2/6/2010 10:14 PM:
> $ ls *.ogg
> ls: invalid option -- '0'
> Try `ls --help' for more information.
>
>
> As you can see there is an issue listing the .ogg files once the ls
> program I suppose runs up on a file name that begins with a dash,
Not a bug.
http://www.gnu.org/software/coreutils/faq/#I-have-a-file-_0027_002df_0027-and-it-affects-rm_002e
Try 'ls -- *.ogg' to see the difference.
--
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
signature.asc Description: OpenPGP digital signature