[sf-perl] [OT] shell signal question
David Alban
extasia at extasia.org
Sat Feb 27 21:04:21 PST 2010
thanks!
On Fri, Feb 26, 2010 at 2:44 PM, yary <not.com at gmail.com> wrote:
> Not obvious to me either. If you have an immediate need, set up one
> signal trap wrapper for each signal you need to distinguish between,
> which can call your mail signal handler with the signal number as an
> argument.
>
> eg.
> trap foo1 1
> trap foo2 2
> trap foo3 3
> trap foo11 11
> trap foo15 15
>
> foo1() { foo 1}
> foo2() {foo 2}
> etc.
--
Live in a world of your own, but always welcome visitors.
More information about the SanFrancisco-pm
mailing list