ohhhhhhhhhhh (exclude linux-extra-rootfs.img build artifact)

This commit is contained in:
Linehu
2026-10-01 23:13:42 +08:00
parent 737a2cb0db
commit 1074962546
533 changed files with 133239 additions and 5460 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env python3
from pathlib import Path
b = Path("/home/deshab/qemu_serial_loop1.log").read_bytes()
ascii_only = bytes(c if 32 <= c < 127 or c in (10, 13, 9) else 32 for c in b)
t = ascii_only.decode("ascii")
Path("/mnt/d/Code/DEAICUP/Deshab/.build_tmp/verify6_ascii.txt").write_text(
t[:5000] + "\n---TAIL---\n" + t[-3000:], encoding="utf-8"
)
print("ok", len(b), "ascii_nonspace", sum(1 for c in ascii_only if c not in (32, 10, 13, 9)))