bug-fileutils
[Top][All Lists]
Advanced

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

Bug in 'ls'


From: Todd Geders
Subject: Bug in 'ls'
Date: Thu, 30 Jan 2003 19:20:27 -0500 (EST)

If you have a filename beginning with a "dash" such as '-test.png' and you
attempt to 'ls *.png' you get the following error:

$ ls *.png
ls: invalid option -- e
Try `ls --help' for more information.

$ ls | grep png
-test.png

This is with GNU fileuitls version 4.1.11 on a GNU/Linux machine running
Gentoo Linux 1.2 with gcc 2.95.3.  Have not been able to test on other
distribution.  AFAIK, the only forbidden characters are / and NULL, so I
believe it is a bug.

~Todd Geders







reply via email to

[Prev in Thread] Current Thread [Next in Thread]