grep -rIlo $'^\xEF\xBB\xBF' . | xargs sed --in-place -e 's/\xef\xbb\xbf//' 转载于:https://www.cnblogs.com/bornfish/p/4612703.html