Give a better advice on how to convert DOS text to UNIX text.

The former tip used `col -bx', which would not only discard
CR's, but also expand TAB's and remove BS'en.  This effect is
not always wanted.

MFC after:	1 week
This commit is contained in:
Yaroslav Tykhiy 2005-02-28 17:05:00 +00:00
parent 55fc1315ca
commit 53365f4b43

View File

@ -374,8 +374,8 @@ Need to print a manpage? Use
% %
Need to remove all those ^M characters from a DOS file? Try Need to remove all those ^M characters from a DOS file? Try
col -bx < dosfile > newfile tr -d \\r < dosfile > newfile
-- Dru <genesis@istar.ca> -- Originally by Dru <genesis@istar.ca>
% %
Forget what directory you are in? Type "pwd". Forget what directory you are in? Type "pwd".
-- Dru <genesis@istar.ca> -- Dru <genesis@istar.ca>