作者: yxrgsky 时间: 2007-8-16 07:43 貌似不行哦作者: akin520 时间: 2007-8-16 11:14 E:\>sed "s/ /\n\g" 1.txt
sed: -e expression #1, char 8: Unterminated `s' command
不行呀,版主,,
版主的sed的版本号是多少的呀!!
我的是:
E:\>sed -V
GNU sed version 4.0.7
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.作者: terse 时间: 2007-8-16 17:53 版主的可以啊!
sed "s/ /\n/g" ip.txt |more>ip2.txt
我的和楼上一个版本GNU sed version 4.0.7作者: terse 时间: 2007-8-22 10:37 测试下面也一样处理
@echo off
for /f "delims=" %%i in (test.txt) do for %%a in (%%i) do ECHO %%a>>IP.TXT