Help parsing a large file

2002-08-21 Thread Max Clark
Hi, I am trying to parse a large text file (10 MB, 400K lines) with the following code. This is running FreeBSD-Stable (dual proc, 1GB ram), however I keep receiving messages that I am out of memory, or that the "query timed out". I need to parse a file with email addresses to sort out garbage.

Trapping "Ctrl C"

2002-07-15 Thread Max Clark
Hi. I'm looking for a way to run an operation (like a while (<>) loop for example) until the user presses "ctrl-c". Except instead of ending the perl script I want to trap the "ctrl-c" and present the user a menu of options. Is this possible? Thanks, Max -- To unsubscribe, e-mail: [EMAIL PROTE

RE: Removing ^M (Carriage Return) from files on *nix

2002-04-27 Thread Max Clark
Another way would be like this... $ col -bx < dosfile > newfile It's important that you use a different file name for the "newfile". Max -Original Message- From: Shaun Fryer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 5:03 PM To: Perl Beginners Subject: Removing ^M (Carriag