Subject: Re: bug#9504: ls oddity

From: Davide Brini <[email-masked]>
Date: Wed, 14 Sep 2011 16:04:37 +0200

On Wed, 14 Sep 2011 12:58:14 +0100, Dave Pawson <[email-masked]>
wrote:

> ls -al works as expected
> 
> ls *.xml ... fails?
> 
> [dpawson@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.