Grep/Awk on 1st 2 Letters in 2nd Column of File

view full story

http://www.unix.com – Hi everyone. I need to change a script (ksh) so that it will grep on the 1st 2 letters in the second column of a 5 column file such as this one: Code:  CAXY0_123  10ABFL000001  #  Comment  CAYZ0_123  10ABTX000002  #  Comment  FLXY0_123  11ABCA000001  #  Comment  FLYZ0_123  11ABTX000002  #  Comment  TXXY0_123  12ABCA000001  #  Comment  TXYZ0_123  12ABFL000002  #  Comment ...an (HowTos)