Subject: Re: Suggestion: inclusion of the truncate(1) utility into the tree
To: None <,>
From: ITOH Yasufumi <>
List: tech-userlevel
Date: 07/24/2000 09:17:34
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

ITOH, Yasufumi <>