mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
chore: fw2hw
This commit is contained in:
2
scripts/fw2hw.sh
Normal file → Executable file
2
scripts/fw2hw.sh
Normal file → Executable file
@@ -1 +1,3 @@
|
||||
echo "全角转半角脚本,依赖uconv工具"
|
||||
echo "Ctrl + C 结束"
|
||||
find . -name "*.py" -exec sh -c 'uconv -x "Fullwidth-Halfwidth" "$1" > "$1.tmp" && mv "$1.tmp" "$1"' _ {} \;
|
||||
|
||||
Reference in New Issue
Block a user