shootman2 当前离线
五级士官
gawk 当前离线
少将
grep -vxFf a.txt b.txt | more > 1.txt复制代码
grep -vxFf b.txt a.txt | more > 2.txt复制代码
TOP
grep -vxFf a.txt b.txt > 1.txt复制代码
grep -vxFf b.txt a.txt > 2.txt复制代码
bailong360 (zhonghua)当前离线
上尉
@echo off setlocal enabledelayedexpansion (for /f "tokens=1,2* delims=:" %%i in ('findstr /n . A.txt') do ( set str= set /p str= if "%%j" neq "!str!" echo;%%i:%%j&echo;%%i:!str! ))<B.txt pause复制代码