Article View: gnu.bash.bug
Article #85ksh's trap "" ERR
From: Ray Moody
Date: Tue, 13 Jun 1989 22:38
Date: Tue, 13 Jun 1989 22:38
12 lines
938 bytes
938 bytes
| bash doesn't print the error status. Also note that bash doesn't
| behave well under emacs, but I assume this is related to previous
| reported bugs with determining interactive status.
>You had the right idea. The problem (I believe) with your emulation is
>that the status ($?) gets reset after the test. You could set up a
>function to do the same thing as follows:
Remember that there is a known bug with $?. Try applying the fix
I posted earlier.
Ray
Technical Details
Message-ID:
<8906132238.AA19998@gibbs.physics.purdue.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!GIBBS.PHYSICS.PURDUE.EDU!rayReferences:
<8906132203.AA04470@bucse.bu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!GIBBS.PHYSICS.PURDUE.EDU!ray From: ray@GIBBS.PHYSICS.PURDUE.EDU (Ray Moody) Newsgroups: gnu.bash.bug Subject: ksh's trap "" ERR Message-ID: <8906132238.AA19998@gibbs.physics.purdue.edu> Date: 13 Jun 89 22:38:19 GMT References: <8906132203.AA04470@bucse.bu.edu> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 12