From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 10 11:20:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D1FF37B404 for ; Thu, 10 Jul 2003 11:20:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1E8743F93 for ; Thu, 10 Jul 2003 11:20:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6AIKHUp039447 for ; Thu, 10 Jul 2003 11:20:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6AIKHXK039446; Thu, 10 Jul 2003 11:20:17 -0700 (PDT) Resent-Date: Thu, 10 Jul 2003 11:20:17 -0700 (PDT) Resent-Message-Id: <200307101820.h6AIKHXK039446@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark Huizer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6B1B37B401 for ; Thu, 10 Jul 2003 11:18:48 -0700 (PDT) Received: from nala.dohd.org (d110155.upc-d.chello.nl [213.46.110.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39D0243FA3 for ; Thu, 10 Jul 2003 11:18:47 -0700 (PDT) (envelope-from xaa@dohd.org) Received: by nala.dohd.org (Postfix, from userid 1002) id 57EF6612C; Thu, 10 Jul 2003 20:18:45 +0200 (MET DST) Message-Id: <20030710181845.57EF6612C@nala.dohd.org> Date: Thu, 10 Jul 2003 20:18:45 +0200 (MET DST) From: Mark Huizer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/54334: Tip in freebsd-tips datfile for fortune is wrong X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mark Huizer List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 18:20:19 -0000 >Number: 54334 >Category: conf >Synopsis: Tip in freebsd-tips datfile for fortune is wrong >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 10 11:20:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mark Huizer >Release: FreeBSD 5.1-BETA i386 >Organization: >Environment: System: FreeBSD eeyore.local.dohd.org 5.1-BETA FreeBSD 5.1-BETA #2: Wed May 7 14:40:14 MET DST 2003 xaa@eeyore.local.dohd.org:/sources/obj/sources/src/sys/eeyore i386 >Description: The freebsd-tips file gives this tip: Need to quickly empty a file? Use "echo > filename". -- Dru That is not correct, it will give you a 1 byte file (with a newline). So this should either be: echo -n >filename or : > filename >How-To-Repeat: >Fix: Change the tip to one of the two versions above >Release-Note: >Audit-Trail: >Unformatted: