Sheldon Hearn wrote:
> 
> On Mon, 12 Jul 1999 18:37:13 GMT, Niall Smart wrote:
> 
> > The patch appended seems to fix this, I'd like someone familiar
> > with sh to review it though, since this may be symptomatic of
> > a general problem with command substitution.
> 
> As I understand your patch, you're saying "we should fork off a child
> process when the command in question is cd"? This is what I missed when
> I tried ``echo .`sleep 600`.'' and assumed that the result was proof
> that we always spawn a subprocess for backtick evaluation. :-(

As I understand it most builtins will not spawn a new shell
when they are used in command substitution:

niall% echo `echo $$` $$
20354 20354
niall% 


Niall


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to