Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!munnari.oz.au!labtam!cnw01!nigel From: nigel@cnw01.storesys.coles.oz.au (Nigel Harwood) Newsgroups: comp.sys.ncr Subject: UNIX Batch Bug Tracked Down Keywords: unix tower cron at bug Message-ID: <1136@cnw01.storesys.coles.oz.au> Date: 22 Nov 90 11:30:37 GMT Organization: Coles Myer Ltd., Melbourne, Australia Lines: 43 For you folks out there that have tried to assist me with a problem I have been having over the last 6 months with batch jobs under Tower 32 UNIX version 1.03 being corrupted, here is the bug in all its glory. I cannot explain the behaviour but at least now that I know under what stone the little fella lives I can avoid him. To get to the point, the bug is triggered by having a command in your batch script which requires tty input. If this happens batch will then proceed to do weird things to your previously sensible shell script. To test for the bug create a script called say 'nrh' with the lines : batch <>>>>>>>>>>>>>>>>>>>>>>>>>> << Post: Coles Myer Ltd, PO Box 2000 Tooronga 3146, Australia >> << Phone: +61 3 829 6090 E-mail: nigel@cnw01.storesys.coles.oz.au >> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>