We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cb00c5 commit 3f04372Copy full SHA for 3f04372
Scripts/clean_up_text.sh
@@ -0,0 +1,6 @@
1
+# replace tabs
2
+git ls-files -z '*.cs' '*.md' '*.shader' '*.cginc' '*.hlsl' | xargs -0 sed -Ei 's/\t/ /g'
3
+
4
+# remove UTF-8 BOM, and trailing spaces or tabs at the end of lines
5
+git ls-files -z '*.cs' '*.md' '*.shader' '*.cginc' '*.hlsl' | xargs -0 sed -Ei 's/\r//g;s/\s+$//;s/\xef\xbb\xbf//g'
6
0 commit comments