summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2005-02-28 17:05:00 +0000
committeryar <yar@FreeBSD.org>2005-02-28 17:05:00 +0000
commitada215ee45ea4cbfd97e252c7cd0a2f69cdee02a (patch)
tree6d575e2692da498b65b25691c16820a04223a802 /games
parent39e96588cc3d25c19fd1e811b9b5b1681ab36ef4 (diff)
downloadFreeBSD-src-ada215ee45ea4cbfd97e252c7cd0a2f69cdee02a.zip
FreeBSD-src-ada215ee45ea4cbfd97e252c7cd0a2f69cdee02a.tar.gz
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
Diffstat (limited to 'games')
-rw-r--r--games/fortune/datfiles/freebsd-tips4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips
index 437ff85..9606042 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 <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>
OpenPOWER on IntegriCloud