csh bug?

rusty at sdcarl.UUCP rusty at sdcarl.UUCP
Wed Jun 8 11:33:23 AEST 1983


i'm not sure if this is a bug, it seems to
me that it is. if you run the following
shell script:

	#! /bin/sh

	sleep 9600 &

	echo sleeping...
	sleep 3600

then after you get the "sleeping..." message
you do a ^Z, if you do a ps you will discover
that both sleeps have been stopped. i would
expect that only the 2nd one would be stopped.
this happens regardless of whether the first
line in the shell script is "#! /bin/sh" or
"#! /bin/csh".



More information about the Comp.unix.wizards mailing list