basename/pwd

Hunter Peress <[email protected]> 04 Aug 2002 05:58:56 -0500
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <1028458737.23792.19.camel@HillCountryPeress>
SUGGEST:

give basename an option to do the opposite:

EG: basename /home/lalal/lolo/sdds gives:
sdds

but 
    basename -newoption gives:
/home/lalal/lolo
------------------------
and give pwd the option to accept any file and spit out its absolute
path.