diff --git a/FAQ/admin.sgml b/FAQ/admin.sgml index 61ee2840c4..df5a6eee69 100644 --- a/FAQ/admin.sgml +++ b/FAQ/admin.sgml @@ -1,4 +1,4 @@ - + @@ -835,6 +835,17 @@ perl -i.bak -pe 's/\r\n/\n/g' file ...

file is the file(s) to process. The modification is done in-place, with the original file stored with a .bak extension. +

Alternatively you can use the command: + + +tr -d '\r' < dos-text-file > unix-file + + +

dos-text-file is the file containing DOS text while + unix-file will contain the converted output. This can + be quite a bit faster than using perl. + How do I kill processes by name?