Subject: Suggestion: inclusion of the truncate(1) utility into the tree
To: None <email@example.com, firstname.lastname@example.org>
From: Alexander Langer <alex@FreeBSD.ORG>
Date: 07/21/2000 20:02:27
FreeBSD recently imported a truncate(1) utility into their
src-tree, which is a command-line frontend to truncate(2).
From its usage:
usage: truncate [-c] -s [+|-]size[K|M|G] file ...
truncate [-c] -r rfile file ...
-s truncates the file to a given filesize. Sizes relative to the
actual size is possible with the +/- operator, which K|M|G specifies
-r sets the filesize to the filesize of the file rfile.
-c prevents truncate from creating a file if it's doesn't exist.
We've tried to keep this tool clean and smooth, as discussed on the
FreeBSD-Arch Mailingliste <freebsd-arch@FreeBSD.ORG>.
However, I spoke with Sheldon Hearn <sheldonh@FreeBSD.ORG>, and
we came to the conclusion, that--for portability--it could be nice
to have truncate(1) in all the BSD's.
With this mail I'd like to encourage the other BSD's to discuss
the inclusion of truncate(1) as well.
The source can be found at
(add .tar for the whole dir, you know)
cat: /home/alex/.sig: No such file or directory