echo,--------------------------------------------------------------------------------->jiequ.dat
echo,--------------------------------------------------------------------------------->jq.dat
set /a num=0
for /f "skip=2 tokens=1,5 delims=[]," %%i in ('find /n "Proofs" 1111.txt') do (
set /a num+=1
set /a hang=%%i
set str=%%j
set str=!str: =!
set str=!str:~0,1!
call:string
)
call:fff
del jiequ.dat
pause&exit
:string
if %str% lss 1 (
set /a hh=!hang!-5
call:forr
)
goto:eof
:forr
for /f "tokens=* skip=%hh%" %%i in (1111.txt) do (
set ss=%%i
set ss=!ss:Testing plot=*!
set ss=!ss: =!
echo !ss!>>jiequ.dat
goto:eof)
:fff
for /f "skip=1 tokens=2 delims=*=" %%i in (jiequ.dat) do (
set sm=%%i
set sm=!sm:~0,-1!
echo !sm!>>jq.dat
)
goto:eof