FILE 1
======
102,MALE ,JOHN,1000
103,FEMALE,TINA,2000
104,MALE ,RAJA,3000
105,FEMALE,SARA,4000
I have file above and i need to get all the record which start position from 5-10 (MALE).
i don't how to use awk command to get following output
FILE 1
======
102,MALE ,JOHN,1000
104,MALE ,RAJA,3000
Thanks,
Ram
======
102,MALE ,JOHN,1000
103,FEMALE,TINA,2000
104,MALE ,RAJA,3000
105,FEMALE,SARA,4000
I have file above and i need to get all the record which start position from 5-10 (MALE).
i don't how to use awk command to get following output
FILE 1
======
102,MALE ,JOHN,1000
104,MALE ,RAJA,3000
Thanks,
Ram