AWK from Solihin

 >>
 >>awk -F"|" '{print $11}' MM_20120228_000027208.dat | grep TMNET | sort -u
 TMNET
 >>grep TMNET MM_20120228_000027208.dat | awk -F"|" '{ print $3 }' | sort -u
 0031515
 >>awk '{ }' MM_20120228_000027208.dat
 >>awk '{i}' MM_20120228_000027208.dat
 >>awk -F"|" '{ s=substr($2,2,1); if(s==8)print $0}' MM_20120228_000027208.dat
 >>awk -F"|" '{ s=substr($2,3,1); if(s==3)print $0}' MM_20120228_000027208.dat

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: