Xref: utzoo comp.unix.questions:7220 comp.unix.wizards:8766 comp.unix.xenix:2324 Path: utzoo!attcan!uunet!husc6!uwvax!oddjob!gargoyle!att!chinet!csc From: csc@chinet.UUCP (Craig Curtin) Newsgroups: comp.unix.questions,comp.unix.wizards,comp.unix.xenix Subject: ksh weird files Keywords: ksh shell scripts Message-ID: <5658@chinet.UUCP> Date: 24 May 88 18:09:22 GMT Organization: Chinet - Chicago Public Access UNIX Lines: 15 We seem to have some strange behavior when using ksh and running some shell scripts that exec other shell scripts and then exec back to the main shell script. Our application is a test system that may be running all day in the main menu. The test person simply selects from a main menu a sequence of tests to run and they are then execed. When the tester is ready to return to the main menu it is exec`ed back to main. The problem is that when the sub-shell program is exec'ed the ksh places a copy of the screen (generated b inline redirection) in a /tmp/pid.sh.level file. these files are not that bit its just that when giving the tester a standard shell /bin/sh these are not there. When the tester logout all /tmp/pid.sh.level files are removed but not till then. anyone got any clues?? thanks, Craig Curtin ihnp4!chinet!csc