From owner-freebsd-arch Sat Jul 8 10:29: 3 2000 Delivered-To: freebsd-arch@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.2.163]) by hub.freebsd.org (Postfix) with ESMTP id 9638937B88C for ; Sat, 8 Jul 2000 10:28:59 -0700 (PDT) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.15 #1) id 13AyP3-000EZw-00; Sat, 08 Jul 2000 19:28:33 +0200 From: Sheldon Hearn To: "Daniel C. Sobral" Cc: James Howard , arch@FreeBSD.ORG Subject: Re: truncate(1) implementation details In-reply-to: Your message of "Sun, 09 Jul 2000 01:29:17 +0900." <396756DD.2235FC7C@newsguy.com> Date: Sat, 08 Jul 2000 19:28:33 +0200 Message-ID: <56043.963077313@axl.ops.uunet.co.za> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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