Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!asuvax!ukma!usenet.ins.cwru.edu!eagle!data.nas.nasa.gov!gigantor!hahn From: hahn@nas.nasa.gov (Jonathan Hahn) Newsgroups: comp.misc Subject: Re: "Invalid null command" Message-ID: <1991Apr4.021327.10922@nas.nasa.gov> Date: 4 Apr 91 02:13:27 GMT References: <1991Apr2.005620.11434@ico.isc.com> <1991Apr2.212348.8565@nas.nasa.gov> <1991Apr2.235854.24295@Think.COM> Sender: news@nas.nasa.gov Reply-To: hahn@gigantor.nas.nasa.gov (Jonathan Hahn) Organization: NASA-Ames Research Center Lines: 20 In article <1991Apr2.235854.24295@Think.COM> barmar@think.com (Barry Margolin) writes: >In article <1991Apr2.212348.8565@nas.nasa.gov> hahn@gigantor.nas.nasa.gov (Jonathan Hahn) writes: >> alias \> 'echo>' >Actually, it should be > > alias \> 'echo -n >' > >Otherwise you'll write a newline to splot, rather than just truncating it. >-- >Barry Margolin, Thinking Machines Corp. Well, no. You're thinking of the Bourne shell echo. We were talking about emulating the Bourne shell ">" command in the C shell. The echo in the C shell doesn't behave as you describe. (Or at least it doesn't in the dozen or so csh implementations at this site.) -jonathan hahn -- hahn@gigantor.nas.nasa.gov wk: (415) 604-4360 ..!ames!amelia!hahn hm: (408) 736-7014