Files
Neo-ZQYY/scripts/ops/_find.py
Neo 66c9ae8738 chore: 迁移项目路径 C:\NeoZQYY → C:\Project\NeoZQYY
开发环境从旧虚拟机 (DESKTOP-KGB0K5G) 迁移到新机器 (DESKTOP-D676QDA),
项目目录从 C:\NeoZQYY 变更为 C:\Project\NeoZQYY,
批量替换 126 个文件中的绝对路径引用。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 06:45:29 +08:00

12 lines
460 B
Python

path = 'c:/Project/NeoZQYY/docs/h5_ui/compare/ORCHESTRATION-PLAN.md'
with open(path, 'rb') as f:
raw = f.read()
crlf = b'\r\n' in raw
lines = raw.decode('utf-8').replace('\r\n', '\n').split('\n')
print(f'Total: {len(lines)}')
# Show first 6 lines and lines around 28-45 (main agent section)
print('--- HEAD ---')
for i in range(0, 6): print(f'{i+1}: {repr(lines[i])}')
print('--- LINES 28-50 ---')
for i in range(27, 50): print(f'{i+1}: {repr(lines[i])}')