Xref: utzoo comp.bugs.4bsd:1772 comp.misc:11958 alt.folklore.computers:10666 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.bugs.4bsd,comp.misc,alt.folklore.computers Subject: Re: "Invalid null command" Message-ID: <127435@uunet.UU.NET> Date: 4 Apr 91 02:05:51 GMT References: <1991Apr2.005620.11434@ico.isc.com> Followup-To: comp.bugs.4bsd Distribution: na Organization: UUNET Communications Services, Falls Church, VA Lines: 15 In article writes: ?rcd@ico.isc.com (Dick Dunn) writes: ?> [users] are occasionally annoyed to find that csh rejects this syntax ?> with the confusing message "Invalid null command". ? ?What about ? cat /dev/null > splot ?to create an empty file? Not as, umm, Rube Goldberg-ish as your program, ?though. OVERKILL! There is a builtin command, `:' which works nicely, and is even easy to type. To empty a file, type :>file -- [rbj@uunet 1] stty sane unknown mode: sane