Re: Maybe OT : strange wildcard behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Oct 25, 2010 at 04:38:15PM -0400, ken wrote:
> I'm getting strange stuff too:
> 
> $ /bin/ls -l radiolab101510--Fate-and-Fortune.mp3
> -rw-r--r-- 1 zl zl 57144527 Sep 30 16:10
> radiolab101510--Fate-and-Fortune.mp3
> $ /bin/ls -l *.mp3
> /bin/ls: unrecognized option `--Fate-and-Fortune.mp3'

You have a file begining with a - sign and this is expanding on
the comamnd line.


Do "ls -l -- *.mp3" to be safe

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux