Freedom to Write
Monday 29 December 2008
number of first fields beginning with a #
find number of fields or columns in a line beginning with # of a file :
awk '$1 ~ /^#/ { print NF,$NF}' pop.pl
Exp : Here, we are trying to match first field which begins with a #.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Tweets by @sriramperumalla
No comments:
Post a Comment