ysrr2011 当前离线
上等兵
评分人数
DAIC 当前离线
中将
TOP
gawk -F# "!a[$1]++" MLLC.txt>>MLLC0.txt复制代码
@echo off for /f "delims=" %%a in ('dir /a-d /b *.txt') do ( (for /f "usebackq delims=" %%b in ("%%a") do ( if not defined .%%b echo,%%b&set ".%%b=1" ))>$ move $ "%%a" ) pause复制代码
CrLf 当前离线
论坛巡查
@echo off for %%a in (*.txt) do ( gawk -F# "!a[$1]++" "%%a">tmp.$ move /y tmp.$ "%%~nxa" )复制代码
34205 当前离线