bug-coreutils
[Top][All Lists]
Advanced

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

Re: /usr/bin/dirname - it screams to be made REALLY usable


From: Paul Jarc
Subject: Re: /usr/bin/dirname - it screams to be made REALLY usable
Date: Tue, 02 Mar 2004 09:42:45 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

address@hidden (Frank Schruefer) wrote:
> cd
> dirname .
> delivers:
> .
> That's totally ok, just no option to get e.g. /home/merlin instead of . .

You can get absolute paths by using "`pwd`" instead of ".".
$ pwd
/home/prj
$ dirname "`pwd`"
/home

Too bad coreutils' pwd doesn't support SUSv3's -L and -P options, but
you may not need those anyway.  Or if you do, you shell's builtin pwd
may support them.

> And BTW: If I make an enhancement for this proggy, do I need to file
> another copyright asignment via snail mail like it's necessary for
> gcj?

It depends on the total size of all the changes you've provided for
coreutils.


paul




reply via email to

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