Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnews!cbnewsl!urban From: urban@cbnewsl.att.com (john.urban) Newsgroups: comp.unix.questions Subject: Re: Removing shell temp files Message-ID: <1991Apr22.204555.2743@cbnewsl.att.com> Date: 22 Apr 91 20:45:55 GMT References: Distribution: na Organization: AT&T Bell Laboratories Lines: 35 In article ersys!dpulyk@nro.cs.athabascau.ca (Dennis Pulyk) writes: >Is there a way to get the shell (bourne) to remove temporary files that >it creates from 'here is' documents? . We use shell scripts that use the >form cat <routines, etc) files of the form /tmp/shxxxx are left floating around. >Other then periodically cleaning up /tmp, is there a better way to get >the shell to clean up its act?? >Much thanx for any help. > >Dennis Pulyk ersys!dpulyk@nro.cs.athabascau.ca >Edmonton Remote Systems: Serving Northern Alberta since 1982 This is an old bug in the bourne shell which has been fixed in the lastest releases. For example, the bourne shell on UNIX System V/386 Release 3.2 Version 2.2 does not have this problem. In the short term, you could add this little front end to your here shell scripts ... sh <