On 04/03/2014 08:51 AM, Pádraig Brady wrote:

> While wc would be a place to add it if we were going to integrate this,
> I'm thinking the functionality is a bit too specialized to add.
> Existing tools can do this adequately I think. Consider:
> 
>   awk 'length($0) != 140' < log.txt | wc -l

Or even shorter:
  grep -vc '^.\{140\}$' log.txt

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to