I have an output from a shell script like this:
aaa.sh output
Tue Mar 04 01:00:53 2014 Time drift detected. Please check VKTM trace file for more details. Tue Mar 04 07:21:52 2014 Time drift detected. Please check VKTM trace file for more details. Tue Mar 04 13:17:16 2014 Time drift detected. Please check VKTM trace file for more details. Tue Mar 04 16:56:01 2014 SQL> ALTER DISKGROUP fra ADD DISK '/dev/rhdisk20' Wed Mar 05 00:03:42 2014 Time drift detected. Please check VKTM trace file for more details. Wed Mar 05 04:13:39 2014 Time drift detected. Please check VKTM trace file for more details. Tue Mar 05 05:56:07 2014 GMON querying group 3 at 10 for pid 18, osid 27590856 GMON querying group 3 at 11 for pid 18, osid 27590856 I need to get the part, beginning from today's date:
Wed Mar 05 00:03:42 2014 Time drift detected. Please check VKTM trace file for more details. Wed Mar 05 04:13:39 2014 Time drift detected. Please check VKTM trace file for more details. Tue Mar 05 05:56:07 2014 GMON querying group 3 at 10 for pid 18, osid 27590856 GMON querying group 3 at 11 for pid 18, osid 27590856
man awkorman sedhas all the information you need to find a solution. Alsoman date. If you still can't manage to do it out you should add your attempt to the question.