Date: Sat, 06 Dec 2008 02:17:00 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: "Sheldon Givens" <sheldon@sigsegv.ca> Cc: freebsd-hackers@freebsd.org Subject: Re: Small change to wc Message-ID: <871vwmtawz.fsf@kobe.laptop> In-Reply-To: <f4ecc0930812051414n17867e1fi80d6ed458e879bde@mail.gmail.com> (Sheldon Givens's message of "Fri, 5 Dec 2008 14:14:32 -0800") References: <f4ecc0930812051414n17867e1fi80d6ed458e879bde@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Dec 2008 14:14:32 -0800, "Sheldon Givens" <sheldon@sigsegv.ca> wrote: > 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 have an equivalent to the Linux -L. This flag tells wc to > keep track of the longest line in the input. > > Here's a little diff to add this functionality to BSD wc. > > With this patch, an additional parameter is added to output that shows > the length of the longest line Adding the option to increase finger-compatibility and make shell scripts a bit easier to port over sounds fine by me :) > My apologies if this is in the wrong format. I don't often post here. > ---snip--- > [patch] > ---unsnip--- Can you post a `diff -u' or `diff -c' version of the patch? I like the idea of the new option but it would be easier to read in -u/-c format.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?871vwmtawz.fsf>