Am 29.01.2011 16:01, schrieb Willie Wong:
> This is way OT, but I hope someone here can give me a quick answer:
> 
> I have a text-file. Individual lines of it run from 10 to several
> thousand characters in length. Is there a simple* command that allows
> me to only display the lines that are, say, at least 300 characters
> long?
> 
> Thanks in advance, 
> 
> W
> 
> 
> * simple of course includes appropriate incantations of sed/awk/perl/etc

egrep '.{300,}'

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to