Andrewmchorney wrote: > > Hello All: Hello,
> I have taken a little classroom work in perl. I believe it is very possible > to write a perl script to read a text file, strip the carriage return and > linefeed and write it to another file. > > How would the script look? If you are running this on DOS/Windows then: perl -pe"chomp" text_file > another_file Otherwise: perl -pe'tr/\015\012//d' text_file > another_file John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]