Seb dixit:

>Moreover, in a script even cat as a problem:
>
>  /bin/cat /dev/zero >/dev/null &
>  kill -s TERM %%

>This never ends (but once again, no problem in an interactive shell).

Aah. You are using the job commands in a noninteractive script.

Please read up on $! instead, and remember that everything with
%% and friends needs job control.

>Good to know about sleep, thanks. I'm surprised, though, about the
>signal numbers on Linux, because they are POSIX and properly

Not all of them. Amount(!) of signals, order and names differ
even across various CPU architectures on Linux.

(Not to mention I use BSD, which differs from Linux, too. We
have SIGINFO, for example, which rocks.)

bye,
//mirabilos
-- 
13:37⎜«Natureshadow» Deep inside, I hate mirabilos. I mean, he's a good
guy. But he's always right! In every fsckin' situation, he's right. Even
with his deeply perverted taste in software and borked ambition towards
broken OSes - in the end, he's damn right about it :(! […] works in mksh

Reply via email to