Kalyan Chakravorty Blog
Friday, May 12, 2006
awk
The command to print the first attribute from a file with attribute values as
attr1, attr2, attr3 ..
is
awk -F, '{print $1}' filename
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment