Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 09:42:03 -0400 (EDT)
From:      James Howard <howardjp@glue.umd.edu>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        arch@FreeBSD.ORG
Subject:   Re: truncate(1) implementation details 
Message-ID:  <Pine.GSO.4.21.0007030940200.5251-100000@y.glue.umd.edu>
In-Reply-To: <30309.962630733@axl.ops.uunet.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Jul 2000, Sheldon Hearn wrote:

> Can you explain why it's silly in the context of truncate(1), which
> _must_ take a size as an argument?  It's obvious why it's silly for
> head(1), which needn't be passed a number of lines as an argument.

Then the size should merely be the first argument.  For instance, it isn't 

	chmod -0666 foo

But instead,

	chmod 0666 foo

And this keeps you from having to include the same hack in yet another
program to make sure getopt() can handle it.

Jamie



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?Pine.GSO.4.21.0007030940200.5251-100000>