echo command always prints its arguments
G|ran Uddeborg
uddeborg at chalmers.UUCP
Thu Apr 11 08:16:24 AEST 1985
In article <1581 at ukma.UUCP> david at ukma.UUCP (David Herron, NPR Lover) writes:
.
.
.
> echo -q This creates an empty file >new.file
>
>Since, with csh, there is no longer an easy way to create an empty
>file. (With sh one could type just ">new.file").
Well, what about
touch new.file
or
echo >new.file
or
eval >new.file
or
true >new.file
Do you wish more examples? :-)
(Yes, I know the first example behaves differently if the file already
exists.)
--
"For me, UNIX is a (way of) being."
G|ran Uddeborg
UUCP: {seismo,philabs,decvax}!mcvax!enea!chalmers!uddeborg
CSnet: uddeborg at chalmers.csnet
More information about the Comp.unix
mailing list