Re: Maybe OT : strange wildcard behaviour

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



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'
> Try `/bin/ls --help' for more information.
> $ rpm -qf /bin/ls
> coreutils-5.97-23.el5_4.2
>
> (Output of the first command was wrapped by my mailer.)

Try wrapping the filename in single quotes, so that it's not interpreted
by the shell as a flag or option.

       mark

_______________________________________________
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