John W. Krahn wrote:
Kashif Salman wrote:
How can I capture "Start" as well? putting brackets around it like so
doesn't work:
/^(Start)/ && <> =~ /^(\d+)\/(\d+)\/(\d+)/ && print "$1=> 20$4-$2-$3";
I know it seems pointless to capture start but it doesn't always say
"Start"
so I want to capt
Kashif Salman wrote:
How can I capture "Start" as well? putting brackets around it like so
doesn't work:
/^(Start)/ && <> =~ /^(\d+)\/(\d+)\/(\d+)/ && print "$1=> 20$4-$2-$3";
I know it seems pointless to capture start but it doesn't always say "Start"
so I want to capture it. for simplicity l
On Fri, Aug 15, 2008 at 9:03 AM, Chris Charley <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 13, 2008 at 10:05 AM, John W. Krahn <[EMAIL PROTECTED]> wrote:
>>
>> Kashif Salman wrote:
>>>
>>> Greetings,
>>> Hello,
>>>
>>> I have a log file like so, and I am trying to get the date on the nex
On Wed, Aug 13, 2008 at 10:05 AM, John W. Krahn <[EMAIL PROTECTED]> wrote:
Kashif Salman wrote:
Greetings,
Hello,
I have a log file like so, and I am trying to get the date on the next
line
after "Start..." line. So for the log below I'd like to get the output
04/06/05
05/06/05
06/06/05
On Wed, Aug 13, 2008 at 10:05 AM, John W. Krahn <[EMAIL PROTECTED]> wrote:
> Kashif Salman wrote:
>
>> Greetings,
>>
>
> Hello,
>
> I have a log file like so, and I am trying to get the date on the next
>> line
>> after "Start..." line. So for the log below I'd like to get the output
>>
>> 04/06/
On Wed, Aug 13, 2008 at 10:05 AM, John W. Krahn <[EMAIL PROTECTED]> wrote:
> Kashif Salman wrote:
>
>> Greetings,
>>
>
> Hello,
>
> I have a log file like so, and I am trying to get the date on the next
>> line
>> after "Start..." line. So for the log below I'd like to get the output
>>
>> 04/06/
Kashif Salman wrote:
Greetings,
Hello,
I have a log file like so, and I am trying to get the date on the next line
after "Start..." line. So for the log below I'd like to get the output
04/06/05
05/06/05
06/06/05
But I also need to re-format that so the end result becomes:
2005-04-06
2005-
Greetings,
I have a log file like so, and I am trying to get the date on the next line
after "Start..." line. So for the log below I'd like to get the output
04/06/05
05/06/05
06/06/05
But I also need to re-format that so the end result becomes:
2005-04-06
2005-05-06
2005-06-06
Any hints?
M