Well, I have another example. (1)I wrote a sql script for db2 in w2k (2)ftp <bin>to unix (3)db2 -tvf my.sql (4) It report exception: End of file reached!, BUT, I created a empty file and read my.sql in,

uid (㊣Miracle)
and run the same command db2 -tvf myAnother.sql , it works! So this proved when Vi read the file in, actually it recreate the file and replace eof and eol for you. *_*
2002-11-5 -04:00

回到话题: 今天反正没事情干,多问问,VI怎么去除文本文件没行最后的CTRL+m,一直没有想到好办法(这种文件是被WINDOWS编辑保存过后产生的)

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT杂谈