"John W. Krahn" wrote:
>
> Stuart Clemons wrote:
> >
> > I'm trying to cleanup and format this text file of user names, so that I
> > have one column of user names. Here's the text file:
> >
> > The request will be processed at a domain controller for domain FOOBAR.
> >
> > Group name Misc
>
[EMAIL PROTECTED] wrote:
> I kept working at it and was finally able to get rid of the unwanted lines
> in the text file using a series of nested if's. It's certainly not
> elegant, but it works !
>
> Surely there's a more efficient way to get rid of the unwanted lines.
Definitely!
>
>
> Anywa
: "William Martell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 22, 2003 2:00 PM
Subject: Fw: Newbie trying to cleanup/format text file
>
> - Original Message -
> From: "William Martell" <[EMAIL PROTECTED]>
> To: &q
- Original Message -
From: "William Martell" <[EMAIL PROTECTED]>
To: "William Martell" <[EMAIL PROTECTED]>
Sent: Monday, December 22, 2003 1:58 PM
Subject: Re: Newbie trying to cleanup/format text file
> Hi Stuart,
>
> I modified some of the cod
"John W. Krahn" wrote:
>
> open FH, 'c:/foobar.txt' or die "sourcefile open failed - $!";
> while ( ) {
> next if 1 .. /^-+$/;
> next if /^The command completed successfully/ .. eof( FH );
> print "$_\n" for /\S+/g;
> }
Or better: :-)
open FH, 'c:/foobar.txt' or die "sourcefile op
emons/Westford/IBM
12/22/2003 11:16 AM
To
[EMAIL PROTECTED]
cc
Subject
Newbie trying to cleanup/format text file
Hi all:
I'm trying to cleanup and format this text file of user names, so that I
have one column of user names. Here's the text file:
The request will be proc
Stuart Clemons wrote:
>
> Hi all:
Hello,
> I'm trying to cleanup and format this text file of user names, so that I
> have one column of user names. Here's the text file:
>
> The request will be processed at a domain controller for domain FOOBAR.
>
> Group name Misc
> CommentThes
- Original Message -
From: "William Martell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 22, 2003 11:19 AM
Subject: Re: Newbie trying to cleanup/format text file
> Hi Stuart,
>
> This is as far as I could take it: Any critiques or
Hi all:
I'm trying to cleanup and format this text file of user names, so that I
have one column of user names. Here's the text file:
The request will be processed at a domain controller for domain FOOBAR.
Group name Misc
CommentThese are the FOOBAR users
Members
---