bug-coreutils
[Top][All Lists]
Advanced

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

bug on basename


From: Leonardo
Subject: bug on basename
Date: Wed, 14 Jan 2009 11:12:49 -0200
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

basename does not check if the file exists.

ex:
$ ls Desktop/
daniel.txt   TODO.txt
$ basename Desktop/daniel.txt
daniel.txt
/(ok)/
$ basename Desktop/okidoki
okidoki
/( bad =[ )/

Tested on versions 5.2.1 (RHEL) and 6.10 (Ubuntu 8.10).

basename is suppose to work on that way or this is a bug?

sorry about my poor english, i'm from Brazil.

Tks in advance.



Leonardo de Souza Carneiro





reply via email to

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