Add LC_ALL=C (#209)

This commit is contained in:
Shiming Zhang 2022-09-06 14:08:56 +08:00 committed by GitHub
parent 6ff6831862
commit 1f7c6774fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
export LC_ALL=C
cat $1 | sort -u | grep -v '^$' > $1.tmp && mv $1.tmp $1

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
export LC_ALL=C
cp $1 $1.bak
$(dirname "${BASH_SOURCE}")/fmt.sh $1.bak