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