Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jul 2000 19:28:33 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        James Howard <howardjp@glue.umd.edu>, arch@FreeBSD.ORG
Subject:   Re: truncate(1) implementation details 
Message-ID:  <56043.963077313@axl.ops.uunet.co.za>
In-Reply-To: Your message of "Sun, 09 Jul 2000 01:29:17 %2B0900." <396756DD.2235FC7C@newsguy.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 09 Jul 2000 01:29:17 +0900, "Daniel C. Sobral" wrote:

> Means a syntax error.
> 
> truncate -c -- -1024 nonexistant_file

In actual fact, the introduction of the -r flag, which instructs truncate(1)
to use the size of the file given as an argument, made a good case for
demanding that a specified size argument be given as an argument to an
option.

See http://people.freebsd.org/~sheldonh/truncate/ in Alex's absence.

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56043.963077313>