Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Very simple filtering with awk

Status
Not open for further replies.

haran78

IS-IT--Management
Sep 20, 2011
1
EU
Hi all,
I'm a noob with awk and I need your help in filtering a csv file.

4378|26-09-2011|7|..|..|......
4378|28-09-2011|7|..|..|......
4378|30-09-2011|7|..|..|......
4378|01-40-2011|7|..|..|......
4399|26-09-2011|7|..|..|......
4315|11-09-2011|7|..|..|......


I need to filter and save in another files all the lines that contain 4378 in the first column and where date (column 2) is between 26-09-2011 and 28-09-2011.


Thanks,
Haran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top