Created
July 19, 2019 07:05
-
-
Save em230418/c00e44b37c35dd1e0fcacbce9e24c534 to your computer and use it in GitHub Desktop.
Убрать # -*- coding: utf-8 -*- во всех файлах из текущего каталога
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
#!/usr/bin/env bash | |
sed -i '/#\ -\*-\ coding: utf-8\ -\*-/d' `grep -rn . -e "coding: utf-8" -l` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment