Path: utzoo!hoptoad!pacbell!att!whuts!wsd From: wsd@whuts.UUCP (DINSMORE) Newsgroups: alt.sources Subject: Re: hold -- a program to buffer input Message-ID: <4623@whuts.UUCP> Date: 4 Aug 88 10:29:53 GMT References: <8082@watdragon.waterloo.edu> Reply-To: wsd@whuts.UUCP (54299-DINSMORE,W.S.) Distribution: alt Organization: AT&T Bell Laboratories, Whippany, NJ Lines: 19 In article <8082@watdragon.waterloo.edu> twhlai@watdragon.waterloo.edu (Tony Lai) writes: !A few weeks ago, a program called "hold" was posted to comp.sources.misc that !buffers its input. The idea is that something like ! sed 's/a/b/g' foo > foo !makes foo a null file, while ! sed 's/a/b/g' foo | hold foo !changes all a's to b's in foo, because hold prevents foo from being overwritten !before sed finishes reading foo. ! Would someone please me a way to do this in the C_Shell? Thanks, W. Dinsmore -- | Wayne S. Dinsmore Make it in Massachusetts, | AT&T Bell Labs (ihnp4,att,moss)!whuts!wsd Spend it in New Hampshire. | 20 Shattuck Road Room 4A-118 | Andover,Mass 01810