推 RouterHsieh:或許跟Linux/Windows換行字元不同有關? 05/14 09:52
※ 編輯: rtt2008 來自: 210.200.169.82 (05/14 09:54)
※ 編輯: rtt2008 來自: 210.200.169.82 (05/14 09:56)
→ mayasky:UNIX2DOS試一下? 05/15 02:12
→ buganini:fopen的時候要加b, 用stdin/stdout的話要setmode 05/16 12:12
→ shemale:如果找不到unix2dos可以用這簡單的命令: 06/12 05:50
→ shemale:awk '{print $0"\r"}' inputfile > outputfile 06/12 05:51