首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
批处理替换递增数字
批处理替换递增数字
mac
2022-06-30
146
powershell -c "$text=[IO.File]::ReadAllText('文本.txt',[Text.Encoding]::Default);[regex]::Replace($text, '#', {param($m); '第'+(++$n)+'个'})" > "结果.txt"
pause
转载于:https://www.cnblogs.com/aitiangua/p/7867737.html
转载请注明原文地址: https://mac.8miu.com/read-3331.html
最新回复
(
0
)