On Mon, Jun 03, 2002 at 04:32:25PM +0300, [EMAIL PROTECTED] wrote:
> What userland tool can derive
> /usr/local/bin
> from:
> `which gcc` that returns:
> /usr/local/bin/gcc

You should read more shell scripts <grin>

mulix@tea:~$ basename `which gcc`
gcc
mulix@tea:~$ dirname `which gcc`
/usr/local/bin

Hope this helps. 
-- 
Highday 12 Forelithe 7466

http://vipe.technion.ac.il/~mulix/
http://syscalltrack.sf.net/

Attachment: msg19768/pgp00000.pgp
Description: PGP signature

Reply via email to