Freedom to Write
Monday 15 December 2008
Line longer than x characters
Print every line that is longer than 80 characters:
awk 'length($0) > 80' data
The sole rule here has a relational expression as its pattern and it has no action—so the default action, printing the record, is used.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Tweets by @sriramperumalla
No comments:
Post a Comment