I have seen a isql result set of a query in the file(Result.txt)
can anyone help me understand what the following command does..??
cat Result.txt |awk 'NR >3' |grep -v - | grep -v return
Thanx a bunch
I have seen a isql result set of a query in the file(Result.txt)
can anyone help me understand what the following command does..??
cat Result.txt |awk 'NR >3' |grep -v - | grep -v return
Thanx a bunch
cat Result.txt # Cat the file (not needed - useless use of cat award)
|awk 'NR >3' # Print everything after record (i.e. line) 3
|grep -v - # get rid od libes with "-" in them
| grep -v return # get rid of libes with "return" in them
HTH