[comp.bugs.4bsd] Problems with 4.3-Tahoe "at"

housel@ea.ecn.purdue.edu (Peter S. Housel) (09/11/88)

	The new version of /usr/bin/at for 4.3-Tahoe (also Gould UTX/32 3.0E) 
uses a "here document" to run scripts:

[ header ]
[ setup stuff ]
$SHELL << 'string of unlikely garbage...'
[ your script, copied from stdin or the file in the "at" command ]

	This allows considerable flexibility in the shell used. Unfortunately,
it also means that programs that read stdin will eat up the rest of the
script.

	In particular, 'rsh' will end cause the shell to exit with an
unexpected end-of-file, even when the remote program doesn't need stdin.
This is counterintuitive, and needs to be documented in any case.

-Peter S. Housel-	housel@ei.ecn.purdue.edu	...!pur-ee!housel