summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
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 c3fd333..8aae134 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
OpenPOWER on IntegriCloud