Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2008 08:06:15 +0100
From:      =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <v.haisman@sh.cvut.cz>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Small change to wc
Message-ID:  <4948A4E7.8040706@sh.cvut.cz>
In-Reply-To: <f4ecc0930812051414n17867e1fi80d6ed458e879bde@mail.gmail.com>
References:  <f4ecc0930812051414n17867e1fi80d6ed458e879bde@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4948A4E7.8040706>