Want to strip UTF-8 BOM(Byte Order Mark) from given files?
sed -e '1s/^\xef\xbb\xbf//' < bomfile > newfile
Want to strip UTF-8 BOM(Byte Order Mark) from given files?
sed -e '1s/^\xef\xbb\xbf//' < bomfile > newfile
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/fbfortune/statuses/114196064328939300 on your instance and quote it. (Note that quoting is not supported in Mastodon.)