Add a tip on "how to strip UTF-8 BOM"
Approved by: delphij (mentor)
This commit is contained in:
parent
355938faba
commit
8118616431
@ -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
|
man -t grep > grep.ps # Save the PostScript version to a file
|
||||||
or
|
or
|
||||||
man -t printf | lp # Send the PostScript directly to printer
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user