[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

试试看

@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

回复 1# Fit
1111.txt呢?
Why join the navy, if you can be a pirate? - Steve Jobs

TOP

1111.TXT
2021-05-31T22:27:11.653  chia.plotting.check_plots        : INFO     Testing plot C:\chia\plot-k32-2021-05-16-10-40-ecfcaf194ba4b1f464111be63715e75b4d409a27c3f8e6e9e5dda97fdeac593f.plot k=32
2021-05-31T22:27:11.654  chia.plotting.check_plots        : INFO             Pool public key: 997d733b57c104841e67179ddb3fa1d624ed9472bc3b726bc3506c1eeb9cf6205ca2a3d202a0d6aa9bea704288266be5
2021-05-31T22:27:11.688  chia.plotting.check_plots        : INFO             Farmer public key: a237de78edb0b8465881d117bbbe6988b1f4defdd0e4866642049fef23552ec6c6729b9f61432e5259da4814133f1e5e
2021-05-31T22:27:11.688  chia.plotting.check_plots        : INFO             Local sk: <PrivateKey 3bea045cb91b8f2a43715aaabb716b52bdab38d2d51e973c7f95ffbbd23fb5dc>
2021-05-31T22:27:11.998  chia.plotting.check_plots        : INFO             Proofs 30 / 30,1.0
2021-05-31T22:27:11.998  chia.plotting.check_plots        : INFO     Testing plot G:\chia\plot-k32-2021-05-24-21-38-1d183c4244313cd1e7d2644e8f909b2eeb561c53dccee5355362170f315d5d11.plot k=32
2021-05-31T22:27:11.998  chia.plotting.check_plots        : INFO             Pool public key: 997d733b57c104841e67179ddb3fa1d624ed9472bc3b726bc3506c1eeb9cf6205ca2a3d202a0d6aa9bea704288266be5
2021-05-31T22:27:12.007  chia.plotting.check_plots        : INFO             Farmer public key: a237de78edb0b8465881d117bbbe6988b1f4defdd0e4866642049fef23552ec6c6729b9f61432e5259da4814133f1e5e
2021-05-31T22:27:12.007  chia.plotting.check_plots        : INFO             Local sk: <PrivateKey 37b3829a35c2e7c83bd7610f996f7c09b7492a6eef2bb7c5bb6a86c0bf2d0376>
2021-05-31T22:27:12.232  chia.plotting.check_plots        : INFO             Proofs 23 / 30, 0.7667
2021-05-31T22:27:11.653  chia.plotting.check_plots        : INFO     Testing plot C:\chia\plot-k32-2021-05-16-10-40-ecfcaf194ba4b1f464111be63715e75b4d409a27c3f8e6e9e5dda97fdeac593f.plot k=32
2021-05-31T22:27:11.654  chia.plotting.check_plots        : INFO             Pool public key: 997d733b57c104841e67179ddb3fa1d624ed9472bc3b726bc3506c1eeb9cf6205ca2a3d202a0d6aa9bea704288266be5
2021-05-31T22:27:11.688  chia.plotting.check_plots        : INFO             Farmer public key: a237de78edb0b8465881d117bbbe6988b1f4defdd0e4866642049fef23552ec6c6729b9f61432e5259da4814133f1e5e
2021-05-31T22:27:11.688  chia.plotting.check_plots        : INFO             Local sk: <PrivateKey 3bea045cb91b8f2a43715aaabb716b52bdab38d2d51e973c7f95ffbbd23fb5dc>
2021-05-31T22:27:11.998  chia.plotting.check_plots        : INFO             Proofs 30 / 30,1.0
2021-05-31T22:27:11.998  chia.plotting.check_plots        : INFO     Testing plot G:\chia\plot-k32-2021-05-24-21-38-1d183c4244313cd1e7d2644e8f909b2eeb561c53dccee5355362170f315d5d11.plot k=32
2021-05-31T22:27:11.998  chia.plotting.check_plots        : INFO             Pool public key: 997d733b57c104841e67179ddb3fa1d624ed9472bc3b726bc3506c1eeb9cf6205ca2a3d202a0d6aa9bea704288266be5
2021-05-31T22:27:12.007  chia.plotting.check_plots        : INFO             Farmer public key: a237de78edb0b8465881d117bbbe6988b1f4defdd0e4866642049fef23552ec6c6729b9f61432e5259da4814133f1e5e
2021-05-31T22:27:12.007  chia.plotting.check_plots        : INFO             Local sk: <PrivateKey 37b3829a35c2e7c83bd7610f996f7c09b7492a6eef2bb7c5bb6a86c0bf2d0376>
2021-05-31T22:27:12.232  chia.plotting.check_plots        : INFO             Proofs 23 / 30, 0.7667

TOP

  1. 2021-05-31T22:27:12.232  chia.plotting.check_plots        : INFO             Proofs 23 / 30, 0.7667
复制代码
有不可见字符?

TOP

其实这是以前论坛里的有偿求助里的题目,我弄好了,结果回复后,就成自己的发帖了

TOP

回复 5# Fit


    …你是不是点发贴了,是点回复呀…
梦依旧在,只是,心有余而力渐有不足
年年岁岁花相似,岁岁年年人不同

TOP

返回列表