RE: CPAN Module UNIX Windows newline character

2003-08-18 Thread Peter Eisengrein
Title: RE: CPAN Module UNIX Windows newline character Thanks Ted. My way may have only been for Windows (was kinda the point), and it may been a bit long winded but it gets the job done. So there! -Original Message- From: Ted S. [mailto:[EMAIL PROTECTED]] Sent: Monday, August 18

Re: CPAN Module UNIX Windows newline character

2003-08-18 Thread Carl Jolley
On Mon, 18 Aug 2003, $Bill Luebkert wrote: > Peter Eisengrein wrote: > > > Here's a simple unix2dos script to save you from having to do the MS > > Word conversion in the future. > > > > This script will only work on a Windoze system of course: > > > ### unix2dos.pl > > > > use strict; > > use Fil

Re: CPAN Module UNIX Windows newline character

2003-08-18 Thread Ted S.
On 18 Aug 2003, $Bill Luebkert wrote in perl: > Peter Eisengrein wrote: > >> Here's a simple unix2dos script to save you from having to do the MS >> Word conversion in the future. >> > > This script will only work on a Windoze system of course: Hmmm. This is the Perl-Win32-Users mailing list,

RE: CPAN Module UNIX Windows newline character

2003-08-18 Thread Joe Camel
The CPAN module is your friend. :) It will download and install the modules for you. Either use PPM or CPAN. Using CPAN is as simple as using PPM. Here is the CPAN documentation: http://search.cpan.org/author/JHI/perl-5.8.0/lib/CPAN.pm Of course, you could also do it your way. But you are taking

Re: CPAN Module UNIX Windows newline character

2003-08-18 Thread $Bill Luebkert
Carl Jolley wrote: > On the other hand with the script: > > #!perl -pi.bak > BEGIN { binmode STDIN; binmode STDOUT; } > s/[\r*\n*]+$/\r\n/; > __END__ > > > I can't figure out why you would want to replace the first string of one > or more consecutive '*' characters on each line with "\r\n" whil

Re: CPAN Module UNIX Windows newline character

2003-08-18 Thread $Bill Luebkert
Peter Eisengrein wrote: > Here's a simple unix2dos script to save you from having to do the MS > Word conversion in the future. > This script will only work on a Windoze system of course: > ### unix2dos.pl > > use strict; > use File::Copy; > > my $file = $ARGV[0] || die "Usage: $0 filename\n"

RE: CPAN Module UNIX Windows newline character

2003-08-18 Thread Peter Eisengrein
Title: RE: CPAN Module UNIX Windows newline character Here's a simple unix2dos script to save you from having to do the MS Word conversion in the future. ### unix2dos.pl use strict; use File::Copy; my $file = $ARGV[0] || die "Usage: $0 filename\n"; my $temp = &q