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
This post has been archived. It cannot be replied.
Page address has been copied.
To share, click to copy page address.
Share Online by QR Code

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

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT杂谈