From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 03:16:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83D7D37B401 for ; Fri, 4 Apr 2003 03:16:23 -0800 (PST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D16943F93 for ; Fri, 4 Apr 2003 03:16:22 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.8/8.12.8) with ESMTP id h34BFnSZ097912; Fri, 4 Apr 2003 13:15:49 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.8/8.12.8/Submit) id h34BFn3T097911; Fri, 4 Apr 2003 13:15:49 +0200 (CEST) Date: Fri, 4 Apr 2003 13:15:49 +0200 From: Stijn Hoop To: Jim Message-ID: <20030404111549.GD97057@pcwin002.win.tue.nl> References: <200304041227.46615.a.carter@intrasoft.lu> <20030404103927.GC97057@pcwin002.win.tue.nl> <200304041102.h34B2VVa024586@quasi.concon.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SkvwRMAIpAhPCcCJ" Content-Disposition: inline In-Reply-To: <200304041102.h34B2VVa024586@quasi.concon.homeip.net> User-Agent: Mutt/1.4i X-Bright-Idea: Let's abolish HTML mail! cc: freebsd-questions@freebsd.org cc: CARTER Anthony Subject: Re: [mail_lists] Re: cleaning out files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 11:16:23 -0000 --SkvwRMAIpAhPCcCJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2003 at 03:00:52AM -0800, Jim wrote: > The best way is simply doing: >=20 > bash]$ > filename >=20 > This clears the file out without destroying any open file descriptors on = the=20 > file. Does echo -n 'destroy' an open file descriptor on the file? Does the above work with other shells? Just curious, --Stijn --=20 What would this sentence be like if it weren't self-referential? --SkvwRMAIpAhPCcCJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+jWllY3r/tLQmfWcRAsUBAJ47bTpx4cu8PVkmDPLotjwOC5aeawCfSuHD 7IzNJ++FYCMTh8V/aFwirrc= =btdB -----END PGP SIGNATURE----- --SkvwRMAIpAhPCcCJ--