GNU bug report logs - #9504
ls oddity

Previous Next

Package: coreutils;

Reported by: Dave Pawson <dave.pawson <at> gmail.com>

Date: Wed, 14 Sep 2011 12:04:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 9504 <at> debbugs.gnu.org (full text, mbox):

From: Davide Brini <dave_br <at> gmx.com>
To: 9504 <at> debbugs.gnu.org
Subject: Re: bug#9504: ls oddity
Date: Wed, 14 Sep 2011 16:04:37 +0200
On Wed, 14 Sep 2011 12:58:14 +0100, Dave Pawson <dave.pawson <at> gmail.com>
wrote:

> ls -al works as expected
> 
> ls *.xml ... fails?
> 
> [dpawson <at> localhost pawson]$ ls *.xml
> ls: invalid option -- ':'
> Try `ls --help' for more information.
> 
> 
> Not sure if it's a bug or my setup?

You have some filename that confuses ls. Try one of:

ls ./*.xml

ls -- *.xml

(and use sane filenames in the future).

-- 
D.




This bug report was last modified 13 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.