Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 1998 03:45:59 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, cracauer@cons.org
Cc:        cracauer@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/bin/sh jobs.c
Message-ID:  <199802071645.DAA14279@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
I wrote:
>#!/bin/sh
>set -x
>trap '' 2
>while : ; do cat; echo -n $?; done
>
>bash.1 says more clearly than sh.1 that the null trap causes the signal
>to be ignored by invoked commands, but only sh behaves as documented.

Version 2 of bash behaves as documented.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802071645.DAA14279>