Date: Mon, 03 Jul 2000 15:05:36 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: James Howard <howardjp@glue.umd.edu> Cc: arch@FreeBSD.ORG Subject: Re: truncate(1) implementation details Message-ID: <30005.962629536@axl.ops.uunet.co.za> In-Reply-To: Your message of "Mon, 03 Jul 2000 09:01:20 -0400." <Pine.GSO.4.21.0007030900160.3727-100000@y.glue.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 03 Jul 2000 09:01:20 -0400, James Howard wrote: > It would make sense to have it follow the semantics of the system call and > then add a -c to create if nonexistent as Langer suggested. I'm convinced, but it introduces a problem. Given that it looks like we'll allow '+' or '-' to be prepended to the size argument to allow size changes rather than absolute sizes, what does this mean: truncate -c -1024 nonexistant_file 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?30005.962629536>