Awk One-Liners

1. How to print all the unique values of a specified field ?

If only the number of  unique values is concerned,

2. How to specify multiple delimiters ?

I once used this script to filter out malformed data where the 2nd column should all be integers.

9999. To be continued …



电子邮件地址不会被公开。 必填项已用*标注