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

[MacPerl] Text manipulation, grep, expressions, etc.



Okay, being new to MacPerl and the list I'm hoping I don't get flamed too
badly. I'm looking for a script which can take about 1200 lines of text,
find the 2nd or 3rd tabbed word as DOWN or UP, copy these lines, paste them
into a document, calculate the number of lines with "DOWN" and then
calculate the difference between two occurances of "down" then "up". I've
tried with AppleScript but the files are too big for any decent applications
to extract the text. I've tried with BBEDIT manually then importing into FM
Pro but it will take all day to convert the spaces into tabs and delete the
other spaces, what's the point  scripting in this instance?

Does anyone have a similar script for MacPerl or even maybe a similar script
that works with the log printed from Intermapper?

Thank you!

boo
***
Free Internet Access! PDAs and Digital Cameras!
http://members.spree.com/bpack/freeweb.htm

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch