From owner-freebsd-arch Mon Jul 3 7:26:53 2000 Delivered-To: freebsd-arch@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id B33E237B88C for ; Mon, 3 Jul 2000 07:26:45 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 1396PU-00055g-00; Mon, 03 Jul 2000 14:37:16 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 1396PU-0007ob-00; Mon, 03 Jul 2000 14:37:16 +0100 Date: Mon, 3 Jul 2000 14:37:16 +0100 From: Ben Smithurst To: Sheldon Hearn Cc: arch@FreeBSD.org Subject: Re: truncate(1) implementation details Message-ID: <20000703143716.V48373@strontium.scientia.demon.co.uk> References: <904.962613305@axl.ops.uunet.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="LG5jgFgJbJFFiAfj" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <904.962613305@axl.ops.uunet.co.za> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --LG5jgFgJbJFFiAfj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sheldon Hearn wrote: > I raised some issues with Alexander and he responded with the message > below. The issue I'd like feedback on is whether or not truncate(1) > should create files given on the command-line when those files do not > exist at the time of invocation. >=20 > My feeling is that truncate should not do so. Alexander's opinion is > given in the e-mail message. I agree with alex that it should create files iff -c (or something) is given on the command line, and the default should be NOT to create anything. --=20 Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D --LG5jgFgJbJFFiAfj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: Kd0oLNmOLEImLrt6gzGORk6j/9W3kIt6 iQCVAwUBOWCXDCsPVtiZOS99AQGfKwP/UdpGPE2ZCiFRFuJp2PT/PIJ5W9oROj13 Xbrk3ihbt/MjhFfstmFhntfiUvFXdC9nWSqh1lj8U4p02w7W4ziu5c9Ep/ZfZ9af TRdoOcEOkRQgIbqIY2aHOCNLtoz62xH7ehQCfCK2UZJcs48ZloVizw4z+rLriEKG USpoUniXImE= =IyXc -----END PGP SIGNATURE----- --LG5jgFgJbJFFiAfj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message