649918043 当前离线
列兵
回家路上 当前离线
少尉
@echo off & setlocal enabledelayedexpansion for /f "delims=" %%i in (1.txt) do ( set l=%%i for /f "delims=0123456789" %%a in ("%%i") do set a=%%a for %%a in (!a!) do set l=!l:%%a=! echo;!a! !l! ) pause & exit /b复制代码
TOP
pcl_test 当前离线
荣誉版主
@if(0)==(0) echo off&cscript -nologo -e:jscript "%~f0"<"a.txt"&pause & exit/b@end WSH.Echo(WScript.StdIn.ReadAll().replace(/(\D+)/g,'$1\t'));复制代码
::http://batch-cn.qiniudn.com/tool/4.0.7/sed.exe @sed -i "s/\([^0-9]*\)/\1\t/" "a.txt"复制代码
DAIC 当前离线
中将
sed -i "s/\([^0-9]*\)/&\t/" 1.txt复制代码
WHY 当前离线
上校
sed "s/[0-9]/\t&/" 1.txt复制代码