Gentoo Archives: gentoo-user

From: Willie Wong <wwong@××××××××××××××.EDU>
To: gentoo-user@l.g.o
Subject: [gentoo-user] [OT] find lines in text file by length
Date: Sat, 29 Jan 2011 15:02:40
Message-Id: 20110129150102.GA30755@math.princeton.edu
1 This is way OT, but I hope someone here can give me a quick answer:
2
3 I have a text-file. Individual lines of it run from 10 to several
4 thousand characters in length. Is there a simple* command that allows
5 me to only display the lines that are, say, at least 300 characters
6 long?
7
8 Thanks in advance,
9
10 W
11
12
13 * simple of course includes appropriate incantations of sed/awk/perl/etc
14 --
15 Willie W. Wong wwong@××××××××××××××.edu
16 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
17 et vice versa ~~~ I. Newton

Replies

Subject Author
Re: [gentoo-user] [OT] find lines in text file by length Etaoin Shrdlu <shrdlu@×××××××××××××.org>
Re: [gentoo-user] [OT] find lines in text file by length "Petri Rosenström" <petri.rosenstrom@×××××.com>
Re: [gentoo-user] [OT] find lines in text file by length Florian Philipp <lists@×××××××××××.net>