Re: Extracting text from an Retrospect Log
Re: Extracting text from an Retrospect Log
- Subject: Re: Extracting text from an Retrospect Log
- From: Gnarlodious <email@hidden>
- Date: Mon, 13 Mar 2006 12:42:27 -0700
- Thread-topic: Extracting text from an Retrospect Log
Title: Re: Extracting text from an Retrospect Log
Entity Michael Slomski spoke thus:
I need every line down from the last occurence of “∆ $[31]Retrospect$[32] version 5.1.177:
Something like this?
set filePath to "~/path"
set someRegex to "somestring"
do shell script "sed -n \"`sed -n '/" & someRegex & "/=' " & filePath & " | tail -1`,\\$p\" " & filePath
-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden