bug-coreutils
[Top][All Lists]
Advanced

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

Re: basename sucks


From: Matthew Woehlke
Subject: Re: basename sucks
Date: Thu, 01 Feb 2007 15:40:55 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061206 Thunderbird/1.5.0.9 Mnenhy/0.7.4.0

Evan Hunt wrote:

Hmm, coulda almost been "Ethan" ;-)

Furthermore, with a --suffix option, we could also allow multiple command
line arguments, another usage case that might prove useful:

$ basename --suffix=.h foo.h bar.h

It's always fun until somebody puts out an eye by having a file named
"--suffix=.h".

$ basename -- --suffix=.h
:-)

(Oddly enough, my 'basename' (6.6) on AIX 5.1 is broken. I'm busy building Jim's snapshot to see if it's still broken. If so, I'll debug from there.)

--
Matthew
Congratulations! You've won a free trip to the future! All you have to do to claim your prize is wait five minutes...





reply via email to

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