• 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: Piping sed to sed commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Piping sed to sed commands


  • Subject: Re: Piping sed to sed commands
  • From: Emmanuel <email@hidden>
  • Date: Sat, 17 Jan 2004 09:45:30 +0100

At 9:45 PM -0700 16/01/04, Gnarlodious wrote:
>I'm having a problem piping sed output to another sed command. here's what
>I'm doing:
>
>do shell script "sed -e
>'s/.*<key>Name<\\/key><string>\\(.*\\)<\\/string>/<td class=Name>\\/' | sed
>'s/.*<key>Artist<\\/key><string>\\(.*\\)<\\/string>/<td class=Artist>\\/' "
>& inPOSIX & ">" & outPOSIX

I don't read sed, so I don't know what you want to do, but doesn't XMLTools (by LNS) offer the stuff you need [1]?

Emmanuel

[1] For very basic XML processing, Smile users can use the hidden commands "XMLParse" and "XMLWrite" to make XML into/from records.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Piping sed to sed commands
      • From: Malcolm Fitzgerald <email@hidden>
References: 
 >Piping sed to sed commands (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Piping sed to sed commands
  • Next by Date: re: piped "sed" not working
  • Previous by thread: Re: Piping sed to sed commands
  • Next by thread: Re: Piping sed to sed commands
  • Index(es):
    • Date
    • Thread