[Top][All Lists]

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

basename, dirname why not built-in?

From: Dan Jacobson
Subject: basename, dirname why not built-in?
Date: 13 Feb 2002 12:47:23 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

$ type basename
basename is /bin/basename

OK, but I've seen a lost of built-ins that do more than basename...
So how can one justify having built-ins for some of the simple stuff
in /bin but not all of them?  Got to make a definition of where to
draw the line.  Lots of them or none of them.

$ type dirname
dirname is /usr/bin/dirname

Isn't that one just child's play to implement... wouldn't there be no
better a justification for a built-in than dirname?  [save lots of CPU
time per call.]
http://www.geocities.com/jidanni/ Taiwan(04)25854780

reply via email to

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