Subject: shell question...
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: netbsd-help
Date: 01/31/2006 16:42:04
Hello,

after starting a process in the background

	$ sleep 30 >/dev/null 2>&1 &

and killing it

	$ kill $! >/dev/null 2>&1

the following is printed to the terminal:

	[1]   Terminated              sleep 30 >/dev/null 2>&1

even though I redirected standard output and error to /dev/null... I
tried this with both /bin/sh and /bin/ksh on -current and 2.1_STABLE
NetBSD systems. The Korn shell even prints the pid when starting the
command in the background, e.g.

	[1] 6980

I guess it's the shell who prints these strings, isn't it? If yes, is
there a way to suppress this output?


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~