tcsh printexitvalue query
Christos Zoulas
christos at zoulas.com
Thu Jun 8 16:13:33 EEST 2006
On Jun 8, 12:58pm, bh at wetafx.co.nz (Ben Hall) wrote:
-- Subject: tcsh printexitvalue query
| Hi,
|
| I've noticed a change in $printexitvalue for `` jobs which is causing
| some issues with our in-house code.
|
| The behaviour we expect was added in V6.01.10 and the changelog notes it:
|
| No $printexitvalue for `` jobs.
|
| However I see that V6.13.01 has this in the changelog:
|
| Obey $printexitvalue for builtins.
|
|
| An example of the previous expected behaviour (RedHat 9 - tcsh 6.12.00):
|
| # set printexitvalue;echo X"`echo foo | grep bar`"X
| XX
|
| An example of the current behavour (Kubuntu 5.10 - tcsh 6.14.00):
|
| # set printexitvalue;echo X"`echo foo | grep bar`"X
| XExit 1X
| Exit 1
|
| Why has this behavior changed? Is it intentional?
No this is not intentional. Builtins in the foreground should do it,
but not in ``.
christos
More information about the Tcsh-Bugs
mailing list