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: Greg Wooledge
Subject: Re: [Help-bash] question about trap
Date: Wed, 16 Jan 2013 08:17:29 -0500
User-agent: Mutt/1.4.2.3i

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]