Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Originally posted by leo1984 at 2007-10-31 01:41 PM:
Please tell me, I found these two versions here, and I also want to learn the language for this set of tools.
http://tw.myblog.yahoo.com/c9993/article?mid=37&prev=73&next=20
Extracted path UnxUtils\usr\l ...
@echo off
md Temp
for %%i in (*.txt) do (
echo.>Temp\%%~nxi
sed "s#^\(*\)∥\(*\)\(.*\)#\2∥\1\3#" "%%~nxi">>Temp\%%~nxi
)