Created
July 17, 2021 02:29
-
-
Save abekoh/617407d21c23d6059f3f285d1ff8a467 to your computer and use it in GitHub Desktop.
WSL2で改行コードエラーでシェル失敗する場合、一気にフォーマットを治すコマンド
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
#!/bin/bash | |
fd -IH ".*" | xargs dos2unix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment