Grep? http://www.wingrep.com/ Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/
----- Original Message ----- From: "Jeff Beer" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 9:09 AM Subject: OT: text parsing tool > I know I could do this with CF, or Perl, but there has to be a better > way. > > I have a bunch of 5mb files that I need to extract specific info from. > > The format is simple. I have a single "phrase" in multiple places like > this: > > X-msg-id:xxxxxxxx > > where the "X-msg-id:" portion never changes, and the "xxx.." can be > either all integers, or, a space followed by all integers. I simply > need to grab the number after the colon and export it. If I can add > them to a SQL Server database, even better, but any export format would > be fine. > > Writing a perl script would be pretty easy, but I'm wondering if there > are any known text editors or other utilities that will make this quick > and easy. > > The files I need to parse are actually MS Exchange message tracking log > files, and every two or three days I have about 5 gigs total... > > Any ideas? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

