Created
May 16, 2023 13:42
-
-
Save mcunha98/98143feb1e5fd6b8d4e2b0630db9d9fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -rl $'\xEF\xBB\xBF' /srv/httpd/suapasta > /tmp/files_with_boms.txt | |
while read l; do sed -i '1 s/^\xef\xbb\xbf//' $l; done < /tmp/files_with_boms.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment