Sed replace oneline nogo in Applescript
Sed replace oneline nogo in Applescript
- Subject: Sed replace oneline nogo in Applescript
- From: Gnarlodious <email@hidden>
- Date: Mon, 09 Feb 2004 23:03:31 -0700
The bugaboo is the "2" specifying the line number:
sed -e '2s|<H3>\\(.*\\)<\\/H3>|<h3><a href=\"\\.\\/\">\\1</a></h3>|'
Works in Terminal but not Applescript. If I remove the "2" it operates on
all lines in the file.
What am I doing wrong?
-- Gnarlie
_______________________________________________
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.