SUMMARY grep specific column

From: Muhammad Mughal <muhammad_at_uac.edu.au>
Date: Mon Nov 26 2001 - 18:19:45 EST
Special thanks to Andy Bach, Ray Brownrig, all others say use combination
of cut and awk.

> I want to grep from file the specific column ...say
>       grep col78 "Y" *....
 and output the whole line.


grep '^.\{columnno\}criteria' filename
ie grep '^.\{18\}Y' filename

Regards
Received on Mon Nov 26 23:19:45 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:36 EDT