13 msgDHCP on my wireless card
25 msgwhy multiple versions of java-config, automake,...
16 msg[perhaps OT] ssh from Gentoo into a RedHat server
7 msgPortage: garbage after EOF

Wildcards stopped working
\ Grant (30 May 2007)
. \ Alan McKinnon (30 May 2007)
. . \ Grant (30 May 2007)
. \ Neil Bothwick (30 May 2007)
. . \ Grant (30 May 2007)

4 msgXFS problems
10 msgwhich syslog?
2 msgWhy doesn't esearch find 'exact' packages? [Bug...
10 msgseg fault emerging abiword
2 msgMail server Active Directory authentication
16 msgSwitching to Bellsouth dial-up, trying to anywa...
1 msgOT - spamassassin not rewriting subject headers
8 msgDeactivate keyboard
3 msgCan't see windows servers on network from gnome
28 msghow do you keep up with system administration?
4 msgEbuilds for the following packages are either a...
12 msgFW: mail-mta/exim (is blocking mail-mta/ssmtp-2...
2 msgmail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2)
4 msgOT: An XML Question
4 msgRe: Test!
Subject:Re: Wildcards stopped working
Group:Gentoo-user
From:Grant
Date:30 May 2007


 
> > $ ls -l *.torrent
> > ls: invalid option -- [
> > Try `ls --help' for more information.
>
> Torrent files can have weird names, you probably have one named
> "-- [kewl doodz] -- some dodgy file.torrent". The shell is expanding the
> wildcard and passing it to ls, which thinks it is an option. The
> standard way of avoiding this is to use "ls -l -- *.torrent". The --
> tells ls that there are no more options and everything else is to be
> treated as a file.

Works perfectly. Thanks Neil.

- Grant
--
gentoo-user mailing list



© 2004-2008 readlist.com