Piping sed to sed commands
Piping sed to sed commands
- Subject: Piping sed to sed commands
- From: Gnarlodious <email@hidden>
- Date: Fri, 16 Jan 2004 21:45:19 -0700
Entity BJ Terry spoke thus:
>
GNU sed doesn't support '\t'.
Fine, I'm solving this another way.
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
The first command works but the rest are ignored. I see examples of piped
sed out-in on web examples which suggests it should work.
What is wrong here?
-- Gnarlie
http://www.Gnarlodious.com/iTunes.html
<key>Track ID</key><integer>456</integer>
<key>Name</key><string>Rock Me Right</string>
<key>Artist</key><string>Susan Tedeschi</string>
<key>Album</key><string>Just Won't Burn</string>
<key>Genre</key><string>Rock Blues</string>
<key>Kind</key><string>AAC audio file</string>
_______________________________________________
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.