|
From: | Assaf Gordon |
Subject: | bug#12551: ls -l |
Date: | Tue, 23 Oct 2018 16:07:02 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |