GNU bug report logs -
#12551
ls -l
Previous Next
Reported by: "Chen,Wei" <weichen <at> mdanderson.org>
Date: Mon, 1 Oct 2012 15:35:01 UTC
Severity: normal
Tags: moreinfo
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
close 12551
stop
(triaging old bugs)
On 01/10/12 10:49 AM, Bob Proulx wrote:
>
> Chen,Wei wrote:
>> When I typed 'ls -l *chr4*' in linux, it gave me this:
>>
>> bash-4.1$ ls -l *chr4*
>> ls: invalid option -- '4'
>> Try `ls --help' for more information.
>>
>> It used to work for me, why?
>
> You are expanding a file glob "*chr4*" in the current directory. This
> will be expanded to match any files in the current directory. If any
> of those files start with a dash character '-' then the string will be
> interpreted as an option.
>
With no further comments to Bob's explanation,
I'm closing this bug.
-assaf
This bug report was last modified 6 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.