Awk Question
From: Vipin Khushu-Suse (vkhushu_at_GUERNSEYOP.COM)
Date: 05/20/05
- Previous message: Dave Stewart: "Re: Gateway reset on reboot (was: xnptd insane after reboot)"
- Next in thread: Hunter, Mark: "Re: Awk Question"
- Maybe reply: Hunter, Mark: "Re: Awk Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 20 May 2005 17:34:46 -0400 To: aix-l@Princeton.EDU
Awk experts (or anyone able to script this):
I have a text file that contains the following characters (among others). I want to find lines that contain these characters, and export only those lines to a new text file.
T1P4TA 05/19/0518:25:08
T1P4TA 05/19/0518:27:16
T1P4TA 05/19/0518:29:27
T1P4TA 05/19/0518:31:21
The key things I need to select on are:-
T1P4TA
18:25
18:27
18:29
18:31
Note that I am not including the seconds in the selection. These are processes that tend to complete at these hour:minute combinations, but the seconds value can vary from day to day.
Thanks
- Previous message: Dave Stewart: "Re: Gateway reset on reboot (was: xnptd insane after reboot)"
- Next in thread: Hunter, Mark: "Re: Awk Question"
- Maybe reply: Hunter, Mark: "Re: Awk Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|