Re: [PATCH/RFC] test-lib: clean up trash* directories on SIGINT
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Jul 11, 2010, 11:55 UTC
- Message-ID
- <m21vba9qrq.fsf@igel.home>
- In-Reply-To
- <AANLkTimnrLlprdScYDKHs_lIvFKc3K0n8U5vTzG_df2k@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> Is "trap 'foo' INT" a bashism?
It's the norm.
> Is "trap 'foo' SIGINT" more portable?
<http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_28_03> "Implementations may permit names with the SIG prefix or ignore case in signal names as an extension."
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."