Subject: Re: Suggestion: inclusion of the truncate(1) utility into the tree
To: John Hawkinson <jhawk@MIT.EDU>
From: Alexander Langer <alex@FreeBSD.ORG>
List: tech-userlevel
Date: 07/22/2000 11:02:27
Thus spake John Hawkinson (jhawk@MIT.EDU):

> | FreeBSD recently imported a truncate(1) utility into their
> | src-tree, which is a command-line frontend to truncate(2).
> Why is not ``dd'' sufficient?

It is, for some cases.
However, truncate -r /foo/bar /path/baz
or       truncate -s +1MB /somefile

become ugly hacks with shell scripts and dd.

cat: /home/alex/.sig: No such file or directory