Subject: Re: Suggestion: inclusion of the truncate(1) utility into the tree
To: None <,>
From: Joe Abley <>
List: tech-userlevel
Date: 07/24/2000 18:47:57
On Mon, Jul 24, 2000 at 09:17:34AM +0900, ITOH Yasufumi wrote:
> In article <>
> writes:
> > Sorry but no, you cannot.  It is not possible to do from the shell, awk,
> > dd, cat, or whatever, what truncate(2) and ftruncate(2) do, at least not
> > without building a truncate() call into the tool of your choice.  You
> dd of=file_to_truncate bs=1 seek=new_size count=1 </dev/null

Ha!  yasufumi++