• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Extracting text from an Retrospect Log
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Extracting text from an Retrospect Log
      • From: Michael Slomski <email@hidden>
References: 
 >Extracting text from an Retrospect Log (From: Michael Slomski <email@hidden>)

  • Prev by Date: Re: Format: Data vs. Resource
  • Next by Date: Re: Extracting text from an Retrospect Log
  • Previous by thread: Extracting text from an Retrospect Log
  • Next by thread: Re: Extracting text from an Retrospect Log
  • Index(es):
    • Date
    • Thread