Subject: Re: Using build.sh, a question
To: <>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 06/04/2003 09:11:06
> | Or use a different shell (eg .bin./sh) which supports the ksh'ism
> | 'cd src obj'
>
> How's that work in practice?
$ pwd
/bsd/src/distrib/utils/sysinst
$ cd src obj
/bsd/obj/distrib/utils/sysinst
$ cd -
/bsd/src/distrib/utils/sysinst
$ (cd src obj; arch/i386/sysinst)
Usage: 'cd old new' look for the first occurrance of 'old' in $PWD,
replace it with 'new' and make that the current directory.
David
--
David Laight: david@l8s.co.uk