I am having trouble figuring out how to grab the contents of a text file up
until the first "<p>" and then exit the operation and am needing some advice
on
how to approach this. I basically want to inhale a file until it hits the
first
<p> and then exit. Whatever I am attempting isn't working. For example, I
tried
splitting an array by <p> but split does not take but one character, right?
I
tried using a loop with until, and I have tried using last -- but not only
am I
having trouble getting this to work, but there is more work with this
approach
because if "<p>" is in the middle of a line, I would want to get everything
up
to and including the <p> and nothing more. Any advice on how to best
approach
this appreciated.

Gary





-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to