Subject: Re: Suggestion: inclusion of the truncate(1) utility into the tree
To: None <tech-userlevel@netbsd.org>
From: Christos Zoulas <christos@tac.nyc.ny.us>
List: tech-userlevel
Date: 07/30/2000 00:01:14
In article <20000724100514.A8673@theory.cs.uni-bonn.de>,
Ignatios Souvatzis <ignatios@cs.uni-bonn.de> wrote:
> On Mon, Jul 24, 2000 at 12:19:56AM -0700, Greywolf wrote:
> > Greg, I believe that the skip= parameter has been there for quite some
> > time... 4.3 is verifiable; the man page which states "4th Berkeley
> > Distribution" implies as far back as 4.0 (or 4.1 if there was no 4.0);
> > I'm willing to place a bet on SVR0.
> 
> Uhm, SunOS 4. is 4.3 based, right?
> 
> It quietly fails there, leaving the file truncated to length zero:
> 
> trace(8) shows that the output file is opened with creat(2), lseek'ed 
> a couple of times, then never written, never explicitly closed, then
> exit(0) is called.

You want notrunc...

christos