Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!ns-mx!l_cae05.icaen.uiowa.edu From: jlhaferman@l_cae05.icaen.uiowa.edu (Jeffrey Lawrence Haferman) Newsgroups: comp.sources.wanted Subject: 'hold' = unix csh script Message-ID: <802@ns-mx.uiowa.edu> Date: 6 Mar 90 19:29:28 GMT Sender: news@ns-mx.uiowa.edu Lines: 26 Does someone have the source for 'hold'? I used to have it where I used to work, and used it a lot. I will probably write my own it I can't find it. 'hold' works as follows: file1 | hold file1 i.e. it performs the command on the contents of file1 and replaces file1 with the results of the command. Otherwise, one would need to file1 > tmp1 mv tmp1 file1 This is basically what 'hold' does, though if I remember, it does does some checking to make sure is succesful. Thanks. Jeff Haferman internet: jlhaferman@icaen.uiowa.edu Department of Mechanical Engineering University of Iowa Iowa City IA 52240