From owner-freebsd-hackers Mon Jan 15 02:28:56 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA03816 for hackers-outgoing; Mon, 15 Jan 1996 02:28:56 -0800 (PST) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id CAA03787 for ; Mon, 15 Jan 1996 02:28:47 -0800 (PST) Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id LAA28633; Mon, 15 Jan 1996 11:03:36 +0100 From: Wolfram Schneider Received: (wosch@localhost) by caramba.cs.tu-berlin.de (8.6.12/8.6.9) id LAA19580; Mon, 15 Jan 1996 11:03:32 +0100 Date: Mon, 15 Jan 1996 11:03:32 +0100 Message-Id: <199601151003.LAA19580@caramba.cs.tu-berlin.de> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: hackers@FreeBSD.org Subject: Re: wc(1) In-Reply-To: <199601100610.HAA04903@uriah.heep.sax.de> References: <199601091615.RAA00359@localhost> <199601100610.HAA04903@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@FreeBSD.org Precedence: bulk J. Wunsch writes: >> FreeBSD-2.x wc(1) is slow and ugly. NetBSD-current has the same code >> as FreeBSD-1.1.5, faster and cleaner written. > >If this is Net2-derived code, we are not allowed to use it. :( Net2 does not use ctype. I think someone forgot the changes/patches during the migration from FreeBSD 1.x to FreeBSD 2.0. Wolfram $ diff /usr/src/net2/usr.bin/wc/wc.c ~/bsd/FreeBSD/FreeBSD-current/src/usr.bin/wc/wc.c |wc 360 1389 8015 $ head -1 /usr/src/net2/README This is the src tree for the second Berkeley networking distribution.