mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 11:23:56 +08:00
🛸 Sync 2026-04-09 03:24:04
This commit is contained in:
1 parent
728e30d285
commit
cb2c5d9537
1 file changed
+1
-1
@@ -50,7 +50,7 @@ process_url() {
|
|||||||
# 去除首尾空格
|
# 去除首尾空格
|
||||||
gsub(/^[[:space:]]+|[[:space:]]+$/, "")
|
gsub(/^[[:space:]]+|[[:space:]]+$/, "")
|
||||||
# 跳过注释和空行
|
# 跳过注释和空行
|
||||||
if ($0 ~ /^#/ || $0 == "") next
|
if ($0 ~ /^#/ || $0 ~ /^!/ || $0 == "") next
|
||||||
|
|
||||||
# 前20行探测格式
|
# 前20行探测格式
|
||||||
if (sample_count < 20) {
|
if (sample_count < 20) {
|
||||||
|
|||||||
Reference in new issue
Block a user