From 53365f4b439d96e8e4b51a2641f657617f8d9bda Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Mon, 28 Feb 2005 17:05:00 +0000 Subject: [PATCH] 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 --- games/fortune/datfiles/freebsd-tips | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips index 437ff8593d57..9606042aa298 100644 --- a/games/fortune/datfiles/freebsd-tips +++ b/games/fortune/datfiles/freebsd-tips @@ -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 + tr -d \\r < dosfile > newfile + -- Originally by Dru % Forget what directory you are in? Type "pwd". -- Dru