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 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
> 
> My apologies if this is in the wrong format. I don't often post here.
> 
> Happy Holidays,
> 
> Sheldon Givens
>[...]
You can install sysutils/coreutils and use its gwc executable.

--
VH

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to