Subject: Re: Using build.sh, a question
To: None <current-users@netbsd.org>
From: Aidan Kehoe <kehoea@parhasard.net>
List: current-users
Date: 06/04/2003 08:26:58
Ar an 4ú lá de mí 6, scríobh Luke Mewburn :
> | Or use a different shell (eg .bin./sh) which supports the ksh'ism
> | 'cd src obj'
>
> How's that work in practice?
8:23AM /tmp > mkdir -p alpha/beta gamma/beta
8:23AM /tmp > cd alpha/beta
8:24AM beta > pwd
/tmp/alpha/beta
8:24AM beta > cd alpha gamma
/tmp/gamma/beta
8:24AM beta > pwd
/tmp/gamma/beta
8:24AM beta >
So, "cd src obj" means "try to change to the directory path obtained by
replacing 'src' by 'obj' in the current $PWD."
> (I program (POSIX) sh but I use tcsh interactively.)
The tcsh on this machine doesn't support it. Try zsh.
--
Parhásárd; rex quondam Pokémonorum, rex futuram Pokémonorum.