Re: Removing all \n in a text file.

2003-04-04 Thread Troy Tyson
] To: 'Scot Robnett' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 13:58 Subject: RE: Removing all \n in a text file. Perl is amazing ... Reminds me of lisp where 4-5 of heavily recursive lines do it all ... Just, thank G-d, its not heavily recursive :-) Thanks

RE: Removing all \n in a text file.

2003-04-01 Thread Daniel Gross
PROTECTED] Sent: Monday, March 31, 2003 11:52 PM To: Daniel Gross; [EMAIL PROTECTED] Subject: RE: Removing all \n in a text file. That seems like a lot of work when you could just do something like what's shown below. And I'm sure someone is going to follow with something shorter and cleaner than

RE: Removing all \n in a text file.

2003-03-31 Thread Scot Robnett
That seems like a lot of work when you could just do something like what's shown below. And I'm sure someone is going to follow with something shorter and cleaner than this one, but it's a start. I did test it and it worked. #!C:\Perl\bin\perl.exe -w use strict; my $file =

RE: Removing all \n in a text file.

2003-03-31 Thread Ross Matt-QMR000
all \n in a text file. That seems like a lot of work when you could just do something like what's shown below. And I'm sure someone is going to follow with something shorter and cleaner than this one, but it's a start. I did test it and it worked. #!C:\Perl\bin\perl.exe -w use strict; my $file

RE: Removing all \n in a text file.

2003-03-31 Thread Scot Robnett
. inSite -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ross Matt-QMR000 Sent: Monday, March 31, 2003 10:58 PM To: [EMAIL PROTECTED] Subject: RE: Removing all \n in a text file. Same as Scot but instead of Chomp $_ =~ s/\n//g; that way if you would not chomp