Rasm 当前离线
三级士官
10Ver 112233.. 11223344Cc 1142751081Zj 11我开你 123321Aa@ 1234- 1234123123A 123456789Www 123456Dc 12345Dgsg 1237Yx 123Bingo 123_Jkl复制代码
hfxiang 当前离线
上尉
TOP
sed -n "/^.\{5\}/p" <test.txt>test_out.txt复制代码
qixiaobin0715 当前离线
大校
findstr ..... 1.txt>2.txt复制代码
@echo off setlocal enableDelayedExpansion set "_strlen=set $=^!#1^!&set $=^!$^!fedcba9876543210&set/a##=0x^!$:~15,1^!" for /f %%a in (test.txt) do ( set #1=%%a (%_strlen%) if !##! GEQ 5 echo;%%a ) endlocal复制代码