On 10-10-04 10:03 AM, Bob McConnell wrote:
That's strange. I have been using the first version of this to get rid
of ^M for about 26 years now with no problems whatsoever. I used it on
Eunice (NCR Unix) long before I even knew Perl existed. I didn't think
my memory was that far off.
Actually, you're both right. From man tr:
"SET2 is extended to length of SET1 by repeating its last character
as necessary."
In this case, it would work but not in general.
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/