release: v0.2.2 develop 到 master #29

Merged
admin merged 20 commits from develop into master 2026-08-27 02:07:49 +00:00
2 changed files with 1000 additions and 88 deletions
Showing only changes of commit 75fba4715c - Show all commits
+2
View File
@@ -98,6 +98,8 @@ scan_file() { # $1=檔案路徑;命中就把報告印到 stdout 並回傳 1,
*/simplified.txt|simplified.txt) return 0 ;; */simplified.txt|simplified.txt) return 0 ;;
*/ste100-guard.sh|ste100-guard.sh) return 0 ;; */ste100-guard.sh|ste100-guard.sh) return 0 ;;
*/lang-guard.sh|lang-guard.sh) return 0 ;; */lang-guard.sh|lang-guard.sh) return 0 ;;
*/references/ste100.md|ste100.md) return 0 ;;
*/ste100-lint.sh|ste100-lint.sh) return 0 ;;
esac esac
# 二進位檔跳過。只認 NUL 位元組——拿「非可列印字元」當判準會把所有含中文的檔案誤判成二進位。 # 二進位檔跳過。只認 NUL 位元組——拿「非可列印字元」當判準會把所有含中文的檔案誤判成二進位。
raw=$(head -c 1024 "$f" 2>/dev/null | wc -c) raw=$(head -c 1024 "$f" 2>/dev/null | wc -c)
+998 -88
View File
File diff suppressed because it is too large Load Diff