• 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
Native AS or grep via do shell script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Native AS or grep via do shell script?


  • Subject: Native AS or grep via do shell script?
  • From: Jakob Peterhänsel <email@hidden>
  • Date: Mon, 25 Oct 2004 15:11:54 +0200

Hi All, I have some messages coming in via Mail.app that I woudl like to process, parse and create entries in iCal for.
As they are not that structured, I would like to ask how the gurus on this list would handle this: Native in AppleScript, or via grep/do shell script?

The messages body looks something like this:
---------------------------------------------------------------------------------------------------------
For at sikre stabil liniedrift, foretager vi med kort varsel en kritisk opgradering i følgende område:

Hele landet

Der vil blive foretaget en kritisk software opgradering i tidrummet mellem 0:00 og 6:00

I perioden:
02-10-2004 00:00
til
02-10-2004 06:00

Følgende platforme vil blive berørt:
VPN, Medarbejderbredbånd, Data/Internet

Vi beklager de gener, dette måtte medføre.

---------------------------------------------------------------------------------------------------------

I would like to get the two dates, if they exists, the line with "Hele Landet" and the line starting with "VPN, Medarbejderbredbånd...."

Any clues?


<x-tad-smaller>____________________________________________
</x-tad-smaller>Jakob Peterhänsel
Network Consultant
<x-tad-smaller>Tel: +45 7022 1014</x-tad-smaller>
<x-tad-smaller>Fax: +45 7022 1013</x-tad-smaller>
<x-tad-smaller>Mob: +45 22 68 49 61
</x-tad-smaller><x-tad-smaller>email@hidden</x-tad-smaller>

<x-tad-smaller>www.NetPoint.com
</x-tad-smaller>

 _______________________________________________
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: Native AS or grep via do shell script?
      • From: Jakob Peterhänsel <email@hidden>
  • Prev by Date: Re: Creating a chart or graphic line...
  • Next by Date: Re: Creating a chart or graphic line...
  • Previous by thread: how to read/write itunes' preferences for ipod updates
  • Next by thread: Re: Native AS or grep via do shell script?
  • Index(es):
    • Date
    • Thread