Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!sco!seanf From: seanf@sco.COM (Sean Fagan) Newsgroups: comp.unix.questions Subject: Re: stupid unix questions Message-ID: <5990@scolex.sco.COM> Date: 2 May 90 21:12:05 GMT References: <15758@phoenix.Princeton.EDU> <1990Apr29.222031.1043@diku.dk> <3653@castle.ed.ac.uk> <1990Apr30.053057.2943@smsc.sony.com> <15849@phoenix.Princeton.EDU> <3993@muffin.cme.nist.gov> <5111@jhunix.HCF.JHU.EDU> Sender: news@sco.COM Reply-To: seanf@sco.COM (Sean Fagan) Organization: The Santa Cruz Operation, Inc. Lines: 23 In article <5111@jhunix.HCF.JHU.EDU> doug@jhuvms.bitnet (Douglas W. O'Neal) writes: >Forgot one. Most of the times I have seen ed used, it has been interactive >(usually to make a quick change to a file). Would Mr. Ullman like this >capability taken away to make it more pure? ed's sole claim to being interactive is its error "message" ('?'). Any program which accepts commands (or data) from stdin, and can produce output on stdout, fits very nicely into unix. It can be interactive, since, unless specified, stdin and stdout are your terminal, or it can be used in a pipe. vi, in all incarnations I've seen, cannot be used in a pipe (emacs might be able to, but I don't think so). I'd also like to point out that the only times *I* use ed, generally, are to do some batch editing of a file. -- -----------------+ Sean Eric Fagan | "It's a pity the universe doesn't use [a] segmented seanf@sco.COM | architecture with a protected mode." uunet!sco!seanf | -- Rich Cook, _Wizard's Bane_ (408) 458-1422 | Any opinions expressed are my own, not my employers'.