Re: RegEx Multi-Line Matching

2005-06-23 Thread John W. Krahn
Jeff Westman wrote: On 6/20/05, John W. Krahn <[EMAIL PROTECTED]> wrote: It looks like you don't really need to use paragraph mode, this should do what you want: #!/usr/bin/perl # # tnsnames.pl -- reads tnsnames.ora, sorts by host name use warnings; use strict; my $tnsFile = 'tnsnames.ora';

Re: Regex Multi-Line Matching

2005-06-22 Thread Jeff Westman
Hey Chris, I'm not spamming anyone. I had an error when I sent my email(s) so I resent it. Sorry you had to click the mouse an additional time to 'delete'. Jeff On 6/20/05, Chris Devers <[EMAIL PROTECTED]> wrote: > On Mon, 20 Jun 2005, Jeff Westman wrote: > > > Any help would be greatl

Re: RegEx Multi-Line Matching

2005-06-20 Thread John W. Krahn
Jeff Westman wrote: Hello Fellow Perlites, Hello, I'm having difficulty parsing a file and could use some help here. I've attached my code, output file, and sample job run. Basically, I want to read an Oracle TNS file (tnsnames.ora) and list the host name and service on that server based on

Re: Regex Multi-Line Matching

2005-06-20 Thread Chris Devers
On Mon, 20 Jun 2005, Jeff Westman wrote: > Any help would be greatly appreciated. We heard you the first two times. Please stop spamming the list with the same question. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]