[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] \n\r vs \012\015 question



Version 5.1.9:

How come
s/\n/\r/
works to change LF to CR, but
s/\r/\n/
doesn't do the reverse (ie for changining mac/unix files) If I use
\012 and \015 the replace works both ways...

----------------------------
andy.white@rmit.edu.au (academic)
bibleBlack@bigpond.com (other)



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch