aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2006-10-09 04:11:34 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2006-10-09 04:11:34 +0000
commit811861643103e7bcaa9c576de6a18672607e12fc (patch)
treecc54eb7e4641ed54d99fb6895d59e6a714e9435f /games
parent355938fabaf54138a9b57e3ae00ea482057bc99a (diff)
downloadsrc-811861643103e7bcaa9c576de6a18672607e12fc.tar.gz
src-811861643103e7bcaa9c576de6a18672607e12fc.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/fortune/datfiles/freebsd-tips4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips
index c3fd33390882..8aae134e3708 100644
--- a/games/fortune/datfiles/freebsd-tips
+++ b/games/fortune/datfiles/freebsd-tips
@@ -499,3 +499,7 @@ of the man(1) utility: ``man -t <topic>''. For example:
man -t grep > grep.ps # Save the PostScript version to a file
or
man -t printf | lp # Send the PostScript directly to printer
+%
+Want to strip UTF-8 BOM(Byte Order Mark) from given files?
+
+ sed -e '1s/^\xef\xbb\xbf//' < bomfile > newfile