|
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
|
|