Creating a file in csh
Kim Walden
kim at enea.UUCP
Fri Apr 19 09:43:24 AEST 1985
In article <6177 at Glacier.ARPA> reid at Glacier.ARPA (Brian Reid) writes:
>Aw, come on, folks. "touch filename" is the best way to create an empty file.
>All of these other schemes, involving echo and cat and what have you,
>require that the poor person reading the code stop and think about what is
>going on, but the "touch" program will (by definition) do nothing other than
>create it.
>--
> Brian Reid decwrl!glacier!reid
> Stanford reid at SU-Glacier.ARPA
But "touch filename" does not create a zero length file, if the file
existed before. Surely, this is what the discussion is all about?
--
Kim Walden
ENEA DATA Sweden
UUCP: {seismo,decvax,philabs}!{mcvax,ukc,unido}!enea!kim
ARPA: decvax!mcvax!enea!kim at berkeley.arpa
mcvax!enea!kim at seismo.arpa
More information about the Comp.unix
mailing list