drock has asked for the wisdom of the Perl Monks concerning the following question:
All,
is there a way to tell perl to give me only these fields as in awk '{print $1" "$2" "$6}'
I want the date field, the time field and the Estring field.
thank you!
derek
Here is my data file:
08/09/04 11:02:43 [ 21587:ebexpire, ebexpire.c@7475] E00698 9840S 3 +59 2303DE53C80C29 08/09/04 11:02:43 [ 21587:ebexpire, ebexpire.c@7475] E00237 9840S 4 +31 E603DE70640F23 08/09/04 11:02:43 [ 21587:ebexpire, ebexpire.c@7475] E00693 9840S 3 +54 4303DE8D86F7EA 08/09/04 11:02:43 [ 21587:ebexpire, ebexpire.c@7475] E00118 9840S 1 +16 503DEA7 FAF83C
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: awk like question in perl
by Roy Johnson (Monsignor) on Aug 11, 2004 at 18:48 UTC | |
by drock (Beadle) on Aug 11, 2004 at 21:13 UTC | |
by Aristotle (Chancellor) on Aug 11, 2004 at 21:31 UTC | |
Re: awk like question in perl
by davido (Cardinal) on Aug 11, 2004 at 18:48 UTC | |
by VSarkiss (Monsignor) on Aug 11, 2004 at 19:31 UTC | |
by davido (Cardinal) on Aug 12, 2004 at 00:28 UTC | |
by drock (Beadle) on Aug 12, 2004 at 15:54 UTC | |
by davido (Cardinal) on Aug 12, 2004 at 16:46 UTC | |
by drock (Beadle) on Aug 12, 2004 at 20:25 UTC | |
by davido (Cardinal) on Aug 12, 2004 at 20:45 UTC | |
|
Back to
Seekers of Perl Wisdom