finding a string - TechRepublic
General discussion
June 25, 2003 at 05:15 AM
vavazquez652

finding a string

by vavazquez652 . Updated 22 years ago

How can create a scrippt shell using grep to look for an specific string like year in a file contaning this information

A250865|0|0|03/06/1999|03/06/1999|G|254||N|1|I|P|
A251999|315584|315584|29/05/2003|29/05/2003|N|2796|2796|N|1|I|F|

I have already did it, but it find the same string in the first column, how can I separate it,

What I need is just the information in the fourth column.

For your help thank you !!

This discussion is locked

All Comments