help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] question about trap


From: MaShimiao
Subject: Re: [Help-bash] question about trap
Date: Thu, 17 Jan 2013 08:44:42 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Thank you. I got it.
On 01/16/2013 09:17 PM, Greg Wooledge wrote:
On Wed, Jan 16, 2013 at 09:08:02AM +0800, MaShimiao wrote:
I read bash's changelog. And it says in version 4.2, "trap -p" will show
signals ignored at shell startup.
my question is which kind of signals will be ignored .
Whatever you (or the process which invoked you) ignored.

imadev:~$ ( trap '' USR1; bash -c 'trap -p' )
trap -- '' SIGUSR1

Compare to earlier version:

imadev:~$ ( trap '' USR1; bash-4.1.9 -c 'trap -p' )
imadev:~$





reply via email to

[Prev in Thread] Current Thread [Next in Thread]