home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!rutgers!carssdf!watson
- From: watson@carssdf.UUCP (- Self Empl. Sys.Integrator)
- Newsgroups: comp.lang.perl
- Subject: how to 'write' cr-nl
- Message-ID: <399@carssdf.UUCP>
- Date: 31 Aug 92 16:35:41 GMT
- Organization: John Watson (Self Employed System Integrator)
- Lines: 12
-
- Is there an easy way to write CR-NL at the end of the lines
- instead of just "\n". Sort of like $\ = "\r\n", except make
- it apply to the write statement?
-
- Alternatly is there an EASY way to set the onlcr flag on
- STDOUT in some portable way when you don't know for sure
- what device it is pointing to (so I can't do system('stty...)..
-
- This must be simple, I've got to be overlooking the easy
- solution.
-
- John Watson watson@carssdf.UUCP
-