keshun 当前离线
六级士官
awk 当前离线
上尉
sed "s/prio=0\|active=yes//" 1.txt >2.txt复制代码
TOP
sxw (^_^)当前离线
少尉
sed -e "s/prio=0\|active=yes//g" 1.txt >2.txt复制代码
CrLf 当前离线
论坛巡查
lvsehuaxue 当前离线
@echo off&setlocal enabledelayedexpansion for /f "tokens=1-6 delims==" %%a in (a.txt) do ( set "str=%%a?%%b?%%c?%%d?%%e?%%f" set "str=!str:prio?0=!" set "str=!str:active?yes=!" echo !str:?==! )复制代码