jimmyche 当前离线
列兵
ivor 当前离线
上校
TOP
lvsehuaxue 当前离线
六级士官
@echo off&setlocal enabledelayedexpansion (for /f "delims=" %%i in (1.txt) do ( set "str=%%i" set "str=!str:~,8!" if not defined !str! echo !str! set "!str!=l" ))>2.txt复制代码
wei121676 当前离线
find 当前离线
少将
123567890,aaaaabbbb 124567891,cccccdddd
gawk -F "" "{i=$1$2$3$4$5$6$7$8;a[i]++;if(a[i]==1)print i}" a.txt >b.txt复制代码