Package: bash
Version: 3.2-4
Severity: normal

--- Please enter the report below this line. ---

I've got a file called -CEl-.log in my directory:

si...@sfreezer:~/test/sdfasdf$ ls
-CEl-.log
si...@sfreezer:~/test/sdfasdf$ ls *.log
ls: Ungültige Option -- E
„ls --help“ gibt weitere Informationen.
si...@sfreezer:~/test/sdfasdf$ ls *
ls: Ungültige Option -- E
„ls --help“ gibt weitere Informationen.
si...@sfreezer:~/test/sdfasdf$ mv -CEl-.log bla
mv: Ungültige Option -- C
„mv --help“ gibt weitere Informationen.
si...@sfreezer:~/test/sdfasdf$ mv "-CEl-.log" bla
mv: Ungültige Option -- C
„mv --help“ gibt weitere Informationen.
$ rm -CEl-.log
rm: Ungültige Option -- C
Versuchen Sie „rm ./-CEl-.log“, um die Datei „-CEl-.log“ zu entfernen.
„rm --help“ gibt weitere Informationen.

Well, it works that way:
si...@sfreezer:~/test/sdfasdf$ ls ./*
./-CEl-.log
si...@sfreezer:~/test/sdfasdf$ ls ./*.log
./-CEl-.log

I don't know whether this is a bug, but if not, there could be a note somewhere that the commands above would work for ls.

Simon


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.27-8.slh.1-sidux-686

Debian Release: 5.0
  500 unstable        www.debian-multimedia.org
  500 unstable        ftp.ch.debian.org
  500 unstable        debian.tu-bs.de
  500 unstable        deb.opera.com
    1 experimental    ftp.ch.debian.org

--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
                        |





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to