Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!ns-mx!l_cae07.icaen.uiowa.edu From: jlhaferman@l_cae07.icaen.uiowa.edu (Jeffrey Lawrence Haferman) Newsgroups: comp.unix.shell Subject: How to do file | hold file Message-ID: <2274@ns-mx.uiowa.edu> Date: 7 Sep 90 17:57:59 GMT Sender: news@ns-mx.uiowa.edu Lines: 20 I had a shell script that used to perform what I have in the subject line. For example, suppose I want to sort a file and place the result in the same file without destroying it, e.g. % sort file > tmp % mv tmp file I would like a command 'hold' which would do the above via % sort file | hold file Got a good one liner for this (in c-shell)? Jeff Haferman internet: jlhaferman@icaen.uiowa.edu Department of Mechanical Engineering University of Iowa Iowa City IA 52240