Add a tip on "how to strip UTF-8 BOM"

Approved by:	delphij (mentor)
This commit is contained in:
Chin-San Huang 2006-10-09 04:11:34 +00:00
parent 355938faba
commit 8118616431
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163144

View File

@ -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