"Invalid null command"

Root Boy Jim rbj at uunet.UU.NET
Thu Apr 4 12:05:51 AEST 1991


In article <PPDuZ1w164w at dogface>  writes:
?rcd at 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 at uunet 1] stty sane
		unknown mode: sane



More information about the Comp.bugs.4bsd.ucb-fixes mailing list