1

grep between

view story
linux-howto

http://www.unix.com – Hello, Could you please help me with that: I have file with rows like: Code: AAAAA_ABCDE_20120918_120043_ABC_00.XXX BBBB_KLMNR_20120919_140043_AB_00.XXX CCC_ABCD_20120920_160043_ABCD_00.XXX DD_ABC_20120921_180043_AFH_00.XXX And I want to grep all between 20120919 and 20120920 and two have output like: Code: BBBB_KLMNR_20120919_140043_AB_00.XXX CCC_ABCD_20120920_160043_ABCD_00.XXX Thanks! (HowTos)