From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 17 07:06:30 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26871106564A for ; Wed, 17 Dec 2008 07:06:30 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from service2.sh.cvut.cz (ns2.sh.cvut.cz [IPv6:2001:718:2::241]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC248FC16 for ; Wed, 17 Dec 2008 07:06:29 +0000 (UTC) (envelope-from v.haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service2.sh.cvut.cz (Postfix) with ESMTP id 1A375137710; Wed, 17 Dec 2008 08:06:28 +0100 (CET) Received: from service2.sh.cvut.cz ([127.0.0.1]) by localhost (service2.sh.cvut.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06494-01; Wed, 17 Dec 2008 08:06:20 +0100 (CET) Received: from [192.168.1.2] (35.201.broadband4.iol.cz [85.71.201.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by service2.sh.cvut.cz (Postfix) with ESMTP id AE4DE137700; Wed, 17 Dec 2008 08:06:20 +0100 (CET) Message-ID: <4948A4E7.8040706@sh.cvut.cz> Date: Wed, 17 Dec 2008 08:06:15 +0100 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 Cc: freebsd-hackers@freebsd.org References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigB1D54F5D3556E49DB74400D4" X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at service2.sh.cvut.cz X-Spam-Status: No, hits=2.6 tagged_above=-255.0 required=5.0 tests=AWL, BOTNET, CRM114_HAM_00, JR_RCVD_HOST_PROBS1, JR_RCVD_TOO_FEW_HOPS X-Spam-Level: ** Subject: Re: Small change to wc X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2008 07:06:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB1D54F5D3556E49DB74400D4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sheldon Givens wrote, On 5.12.2008 23:14: > Hello everyone, > In the process of migrating the last of a few Linux servers to FreeBSD,= we > ran in to a bit of a snag with one of our scripts when BSD wc didn't ha= ve an > equivalent to the Linux -L. This flag tells wc to keep track of the lon= gest > line in the input. >=20 > Here's a little diff to add this functionality to BSD wc. >=20 > With this patch, an additional parameter is added to output that shows = the > length of the longest line >=20 > My apologies if this is in the wrong format. I don't often post here. >=20 > Happy Holidays, >=20 > Sheldon Givens >[...] You can install sysutils/coreutils and use its gwc executable. -- VH --------------enigB1D54F5D3556E49DB74400D4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) iFYEAREIAAYFAklIpO4ACgkQhQBMvHf/WHmU0gDeJOcbvSPYaDBbaA64BFhY72Kq 21IxpCeNFWNBIQDg0MXlUOnk4Ipu2Gr6sL9APkSMwZOa7Bkf3IiZng== =7n2/ -----END PGP SIGNATURE----- --------------enigB1D54F5D3556E49DB74400D4--