Skip to main content
http://
Generate a short url (SRL) of this page
dos和unix换行符的转换--俺又被这无形字符害了一把_Road to OU (Oracle&Unix)
Whois Info
Server Info
Cached Page
Popularity Report
Total Popularity Score:
0
Rank
URL Tag Cloud
经验
,
编码
,
操作系统
,
错误
Groups (0)
Related Lists
Bookmark History
Saved by 1 people (0 private), first by anonymouse user on 2008-07-03
Junewong
on 2008-07-03
- Tags
编码
,
操作系统
,
经验
,
错误
Public Comment
Public Sticky notes
用ultraedit的16进制方式可以 很明显地看出来:windows的换行是0D0A,unix的换行只有0A。
Highlighted by
junewong
在vi上打:set ff?,可以显示当前的类型。打:set ff=unix,就可以转换行符号为unix类型;打:set ff=dos那就是dos类型,ff也就是fileformat的意思,把ff写全名fileformat也是可以的
Highlighted by
junewong
Site Community
Readers (1)
June
Public Comment