Subject: Re: Using build.sh, a question
To: David Laight <david@l8s.co.uk>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 06/05/2003 00:25:47
Thus spake David Laight ("DL> ") sometime Yesterday...
DL> $ pwd
DL> /bsd/src/distrib/utils/sysinst
DL> $ cd src obj
DL> /bsd/obj/distrib/utils/sysinst
DL> $ cd -
DL> /bsd/src/distrib/utils/sysinst
DL> $ (cd src obj; arch/i386/sysinst)
DL>
DL> Usage: 'cd old new' look for the first occurrance of 'old' in $PWD,
DL> replace it with 'new' and make that the current directory.
bash-2.05$ cd ${PWD/src/obj}
--*greywolf;
--
NetBSD: The choice of hundreds worldwide.