Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing just lines in column that are longer than 9 ciphers 1

Status
Not open for further replies.

gargamel100

Technical User
Oct 25, 2006
31
CZ
Hi peple,
I have column like
324234234
424234234
424234324
543543545
535454355535
5345454354
5345454355555
545435435
Using awk I can print this column but, I need only to print out lines that are longer than 9 ciphers.
Will help me a lot if someone know how make this using awk/
Regards
 
A starting point:
awk 'length($1)>9' /path/to/input

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top