MACSCRPT Archives

September 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Mark J. Reed" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 17 Sep 2009 16:24:05 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
Wait... I lied.  The way I was running it was fooling me.

> set thePattern to "\\|" & channelID & "\\||"

The doubled pipe is the problem.

Your pattern ends with '|', which means "or"... nothing.  So it will
match every line that contains the empty string, which is every line.

Undouble that pipe and you're good to go.

-- 
Mark J. Reed <[log in to unmask]>

ATOM RSS1 RSS2