[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Text -> HTML



Ok, so I've got a script that takes each individual lines and chops the
"NEWLINE" off, and applies a "<BR>" to the end of each line.  That works
fine, my questions is this:

I have about 220 text files, and each on them is something like this on
the VERY FIRST LINE...

lockpicking master locks           by <WHOEVER>


what I need, is the "lockpicking master locks" and "by <WHOEVER>" into a
scalar variable..  i tried to enter a search for  /\w\s+/  and it didn't
put anything into the variable.  remember, i want *220* of these changed..
:)


I'm lost..  how do i do this?  thanks.


-Tim-

            timjudd@teleport.com |  *NO* chain letters of any kind!
            Teleport #(503) 220-1016 | Located in Portland, Oregon.