bug-sh-utils
[Top][All Lists]
Advanced

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

bug in basename ?


From: dtoppin
Subject: bug in basename ?
Date: Tue, 20 Feb 2001 12:57:54 -0500 (EST)

In using basename I ran across the following condition
that seems to be incorrect:

    basename a.b/c .b

Produces:
    c


info basename says that the suffix is removed only
if it is identical to the END of the name.
Am I reading this incorrectly?

The basename I'm using is:
    basename --version
    basename (GNU sh-utils) 2.0

thanks
Doug





reply via email to

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