jlhaferman@l_cae05.icaen.uiowa.edu (Jeffrey Lawrence Haferman) (03/07/90)
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:
<some-command> 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
<some-command> file1 > tmp1
mv tmp1 file1
This is basically what 'hold' does, though if I remember, it
does does some checking to make sure <some-command> is succesful.
Thanks.
Jeff Haferman internet: jlhaferman@icaen.uiowa.edu
Department of Mechanical Engineering
University of Iowa
Iowa City IA 52240