WHY 当前离线
上校
@echo off & setlocal enabledelayedexpansion (for /f "delims=" %%i in (a.txt) do ( for /f %%j in ("%%i") do ( if "%%j" == "TITLE" (set "s=" & set /p "s=" & echo; %%j "!s!") else echo;%%i ) ))<b.txt>c.txt复制代码
TOP
set "s=[IO.File]::ReadAllText('a.txt', [Text.Encoding]::Default)" PowerShell -c "$a=type 'b.txt';[regex]::Replace(%s%, '(?im)(?<=^\s*TITLE\s+\").*?(?=\")',{$a[$global:i++]})"复制代码
gawk "{if(match($0,/^(\s*TITLE\s+\").*(\")$/,a)){getline s<\"b.txt\";$0=a[1]s\"\"a[2]}};1" a.txt复制代码
评分人数