awk is field-oriented and ideal for manipulating database or comma-delimited files
- awk '{ print $1 }' address_book
- awk -F, '{ print $1 }' address_book
- awk -F, '{ print $1 " " $2 " " $8 }' address_book > address_book.bck
- awk -F, '/KARAM/{ print $1 " " $2 " " $8 }' address_book > address_book.bck
No comments:
Post a Comment