[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FreeBSD sh clears $? on empty lines in trap
From: |
Akim Demaille |
Subject: |
Re: FreeBSD sh clears $? on empty lines in trap |
Date: |
30 Oct 2000 20:07:38 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
>>>>> "Akim" == Akim Demaille <address@hidden> writes:
>>>>> "Pavel" == Pavel Roskin <address@hidden> writes:
Pavel> Hello! The shell in FreeBSD 4.0 has the following bug - $? is
Pavel> reset to 0 by empty lines if the code in inside "trap".
Akim> Wow!!!
This is only inside a trap, or any empty line resets $? ?