On 07/29/2013 10:42 PM, Kirk Bailey wrote:
ok, I read linked article, then copied the perl script text, which bombs.
The TEXT:
* #!/usr/local/bin/perl -w**
** use strict;**
**
** while (<STDIN>) {**
** s/\r\n/\n/;**
** print;**
** }*
This works nicely, and all problems are solved. I tried to download the
program using apt-get, but the site for it is not answering th bell, so
I just typed this in. Thank you, it i just what the doctor ordered.
Puzzled why you didn't just use dos2unix, as I suggested 5 days ago.
It's in every Unix/Linux I've seen, and if not, it's as close as
Synaptic or apt.
--
DaveA
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor