Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 2008 14:49:39 -0800
From:      "Garrett Cooper" <yanefbsd@gmail.com>
To:        "Sheldon Givens" <sheldon@sigsegv.ca>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Small change to wc
Message-ID:  <7d6fde3d0812051449s2ada98a7y848afc78caa8d096@mail.gmail.com>
In-Reply-To: <7d6fde3d0812051448r1581d666v50d162cae348982a@mail.gmail.com>
References:  <f4ecc0930812051414n17867e1fi80d6ed458e879bde@mail.gmail.com> <7d6fde3d0812051448r1581d666v50d162cae348982a@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Fri, Dec 5, 2008 at 2:48 PM, Garrett Cooper <yanefbsd@gmail.com> wrote:
> On Fri, Dec 5, 2008 at 2:14 PM, 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.

[..]

> What's the plus side of having this? I can accomplish the same with
> something like awk without the additional overhead, which would be
> guaranteed to be portable.

s/overhead/overhead to wc/.

> -Garrett


help

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