标题: 试试看 [打印本页]
作者: Fit 时间: 2021-8-21 17:35 标题: 试试看
@echo off
setlocal enabledelayedexpansion
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
作者: HOPE2021 时间: 2021-8-21 18:02
回复 1# Fit
1111.txt呢?
作者: Fit 时间: 2021-8-22 11:41
1111.TXT
2021-05-31T22:27:11.653 chia.plotting.check_plots : [32mINFO [0m Testing plot C:\chia\plot-k32-2021-05-16-10-40-ecfcaf194ba4b1f464111be63715e75b4d409a27c3f8e6e9e5dda97fdeac593f.plot k=32[0m
2021-05-31T22:27:11.654 chia.plotting.check_plots : [32mINFO [0m Pool public key: 997d733b57c104841e67179ddb3fa1d624ed9472bc3b726bc3506c1eeb9cf6205ca2a3d202a0d6aa9bea704288266be5[0m
2021-05-31T22:27:11.688 chia.plotting.check_plots : [32mINFO [0m Farmer public key: a237de78edb0b8465881d117bbbe6988b1f4defdd0e4866642049fef23552ec6c6729b9f61432e5259da4814133f1e5e[0m
2021-05-31T22:27:11.688 chia.plotting.check_plots : [32mINFO [0m Local sk: <PrivateKey 3bea045cb91b8f2a43715aaabb716b52bdab38d2d51e973c7f95ffbbd23fb5dc>[0m
2021-05-31T22:27:11.998 chia.plotting.check_plots : [32mINFO [0m Proofs 30 / 30,1.0[0m
2021-05-31T22:27:11.998 chia.plotting.check_plots : [32mINFO [0m Testing plot G:\chia\plot-k32-2021-05-24-21-38-1d183c4244313cd1e7d2644e8f909b2eeb561c53dccee5355362170f315d5d11.plot k=32[0m
2021-05-31T22:27:11.998 chia.plotting.check_plots : [32mINFO [0m Pool public key: 997d733b57c104841e67179ddb3fa1d624ed9472bc3b726bc3506c1eeb9cf6205ca2a3d202a0d6aa9bea704288266be5[0m
2021-05-31T22:27:12.007 chia.plotting.check_plots : [32mINFO [0m Farmer public key: a237de78edb0b8465881d117bbbe6988b1f4defdd0e4866642049fef23552ec6c6729b9f61432e5259da4814133f1e5e[0m
2021-05-31T22:27:12.007 chia.plotting.check_plots : [32mINFO [0m Local sk: <PrivateKey 37b3829a35c2e7c83bd7610f996f7c09b7492a6eef2bb7c5bb6a86c0bf2d0376>[0m
2021-05-31T22:27:12.232 chia.plotting.check_plots : [32mINFO [0m Proofs 23 / 30, 0.7667[0m
2021-05-31T22:27:11.653 chia.plotting.check_plots : [32mINFO [0m Testing plot C:\chia\plot-k32-2021-05-16-10-40-ecfcaf194ba4b1f464111be63715e75b4d409a27c3f8e6e9e5dda97fdeac593f.plot k=32[0m
2021-05-31T22:27:11.654 chia.plotting.check_plots : [32mINFO [0m Pool public key: 997d733b57c104841e67179ddb3fa1d624ed9472bc3b726bc3506c1eeb9cf6205ca2a3d202a0d6aa9bea704288266be5[0m
2021-05-31T22:27:11.688 chia.plotting.check_plots : [32mINFO [0m Farmer public key: a237de78edb0b8465881d117bbbe6988b1f4defdd0e4866642049fef23552ec6c6729b9f61432e5259da4814133f1e5e[0m
2021-05-31T22:27:11.688 chia.plotting.check_plots : [32mINFO [0m Local sk: <PrivateKey 3bea045cb91b8f2a43715aaabb716b52bdab38d2d51e973c7f95ffbbd23fb5dc>[0m
2021-05-31T22:27:11.998 chia.plotting.check_plots : [32mINFO [0m Proofs 30 / 30,1.0[0m
2021-05-31T22:27:11.998 chia.plotting.check_plots : [32mINFO [0m Testing plot G:\chia\plot-k32-2021-05-24-21-38-1d183c4244313cd1e7d2644e8f909b2eeb561c53dccee5355362170f315d5d11.plot k=32[0m
2021-05-31T22:27:11.998 chia.plotting.check_plots : [32mINFO [0m Pool public key: 997d733b57c104841e67179ddb3fa1d624ed9472bc3b726bc3506c1eeb9cf6205ca2a3d202a0d6aa9bea704288266be5[0m
2021-05-31T22:27:12.007 chia.plotting.check_plots : [32mINFO [0m Farmer public key: a237de78edb0b8465881d117bbbe6988b1f4defdd0e4866642049fef23552ec6c6729b9f61432e5259da4814133f1e5e[0m
2021-05-31T22:27:12.007 chia.plotting.check_plots : [32mINFO [0m Local sk: <PrivateKey 37b3829a35c2e7c83bd7610f996f7c09b7492a6eef2bb7c5bb6a86c0bf2d0376>[0m
2021-05-31T22:27:12.232 chia.plotting.check_plots : [32mINFO [0m Proofs 23 / 30, 0.7667[0m
作者: newswan 时间: 2021-8-22 13:47
- 2021-05-31T22:27:12.232 chia.plotting.check_plots : [32mINFO [0m Proofs 23 / 30, 0.7667[0m
复制代码
有不可见字符?
作者: Fit 时间: 2021-8-22 15:02
其实这是以前论坛里的有偿求助里的题目,我弄好了,结果回复后,就成自己的发帖了
作者: cmd1152 时间: 2021-8-22 16:12
回复 5# Fit
…你是不是点发贴了,是点回复呀…
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |