* rc echos newlines when killed
@ 1992-11-05 19:38 malte
0 siblings, 0 replies; only message in thread
From: malte @ 1992-11-05 19:38 UTC (permalink / raw)
To: rc
Does anybody know why rc-1.4 echos a newline on stderr when killed by sigint ?
#!/vol/local/bin/rcscript -p
fn alarm { { sleep $1; kill -INT $pid }& }
alarm 3
while( );
echo not reached
When invoking this script as alarm,
alarm >[2=1] | od -c
the output is
0000000 \n
0000001
Malte
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1992-11-05 19:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1992-11-05 19:38 rc echos newlines when killed malte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).