.
.   
NEdit.org
   .

Home
 - News - Download - Documentation - Search - FTP     
.
.
  

Convert from/to Unix/Dos

[Back]

The following change the line feed codes as neccesary. Should be faster than using shell commands.

unix2dos:

replace_all("([^\\r]|^)$", "\\1\\r", "regex")

dos2unix:
replace_all("\\r$", "", "regex")
[Back]

. Released on  Wed, 21 Nov 2001  by C. Denat  

  
Visit our sponsor
Check Metrolink

© NEdit.org
1999-2001
All rights reserved


.