From owner-freebsd-questions Sat Mar 27 4:49:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from linda.pomona.edu (linda.pomona.edu [134.173.72.215]) by hub.freebsd.org (Postfix) with ESMTP id DE76914C9A for ; Sat, 27 Mar 1999 04:49:32 -0800 (PST) (envelope-from disowned@linda.pomona.edu) Received: from localhost (disowned@localhost) by linda.pomona.edu (8.9.2/8.9.2) with ESMTP id EAA52429 for ; Sat, 27 Mar 1999 04:48:11 -0800 (PST) (envelope-from disowned@linda.pomona.edu) Date: Sat, 27 Mar 1999 04:48:11 -0800 (PST) From: dissonant To: freebsd-questions@freebsd.org Subject: empty a file? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry to ask a dumb unix question....but, is there any easy way, in the shell or in a script of some sort, to empty a file, leaving its permissions, uid/gid, etc, untouched? Thanks. [[ M i c h a e l L i e b e r m a n ]] [[ d i s o w n e d @ l i n d a . p o m o n a . e d u ]] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message