www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/03/30/12:57:47

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Sat, 30 Mar 2002 20:53:38 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-Id: <3028-Sat30Mar2002205338+0300-eliz@is.elta.co.il>
X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <000001c1d7f8$7c4ac260$7d5f77d5@zastaixp>
(tim DOT van DOT holder AT pandora DOT be)
Subject: Re: Small bash issue
References: <000001c1d7f8$7c4ac260$7d5f77d5 AT zastaixp>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
> Date: Sat, 30 Mar 2002 15:37:54 +0100
> 
> set -x
> echo tracing is on
> (set +x; echo tracing is off here)
> echo tracing should be back on now
> 
> after the subshell ends, debugging is STILL disabled, while
> it should be enabled.

Did that ever work, in _any_ port of Bash?

IIRC, the parenthesized commands require a fork in Bash, so the DJGPP
port has a grave difficulty to make them totally separated from the
main shell.  In particular, the PID reported by $$ is not what you'd
expect on Unix.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019