in reply to Solution: Command line output of Perl script
in thread Command line output of Perl script

In DOS, Windows and printers, CR ("\r") means move the cursor to the begining of the line. LF means move the cursor to the same column on the next line. (Remember that "\n" gets translated to LF when in binmode, and to CRLF when not.)

In unix, CR ("\r") means move the cursor to the begining of the line. LF ("\n") means move the cursor to the begining of the next line.

  • Comment on Re: Solution: Command line output of Perl script