From owner-freebsd-bugs Sat Dec 2 7:40: 8 2000 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A93D37B401 for ; Sat, 2 Dec 2000 07:40:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB2Fe5002331; Sat, 2 Dec 2000 07:40:05 -0800 (PST) (envelope-from gnats) Received: from kiwi.ayan.net (0.ns.ayan.net [209.119.145.2]) by hub.freebsd.org (Postfix) with ESMTP id 08D4437B400 for ; Sat, 2 Dec 2000 07:30:37 -0800 (PST) Received: (from root@localhost) by kiwi.ayan.net (8.11.1/8.11.1) id eB2FU4I05293; Sat, 2 Dec 2000 10:30:04 -0500 (EST) (envelope-from ayan) Message-Id: <200012021530.eB2FU4I05293@kiwi.ayan.net> Date: Sat, 2 Dec 2000 10:30:04 -0500 (EST) From: Ayan George Reply-To: ayan@kiwi.ayan.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/23233: Reincorporate /usr/bin/error in the FreeBSD distribution. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23233 >Category: bin >Synopsis: Reincorporate /usr/bin/error in the FreeBSD distribution. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 02 07:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Ayan George >Release: FreeBSD 5.0-CURRENT i386 >Organization: none >Environment: System: FreeBSD kiwi.ayan.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Nov 30 15:43:08 EST 2000 ayan@kiwi.ayan.net:/usr/obj/usr/src/sys/NIKKI_KERNEL i386 >Description: The /usr/bin/error program should be reincorporated into the FreeBSD distribution. >How-To-Repeat: Try to run /usr/bin/error -- it isn't there. Go to: http://www.FreeBSD.org/cgi/cvsweb.cgi/src/usr.bin/error/Attic/error.h and you'll notice it was removed 11 months, 3 weeks ago. >Fix: Remove it from the Attic and reincorporate it in the FreeBSD distribution. Instead of invoking error this way: make foo | error -v This way makes it seem as though it doesn't detect any errors. One must redirect stderr thusly: make foo 2>&1 | error -v It works just fine and it is incredibly useful. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message