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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142806

View File

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