- 博客(3)
- 资源 (1)
- 收藏
- 关注
转载 remove bom
awk '{ if (NR==1) sub(/^\xef\xbb\xbf/,""); print }' INFILE > OUTFILE sed -i '1 s/^\xef\xbb\xbf//' *.txt
2014-10-25 17:46:01 4651
转载 How can I change a file's encoding with vim?
I'm used to using vim to modify a file's line endings: $ file file file: ASCII text, with CRLF line terminators $ vim file :set ff=mac :wq $ file file file: ASCII text, with CR line terminators I
2014-10-12 15:55:38 656
转载 Displaying the current Vim environment
You can display the current Vim environment (settings, options, commands, maps, etc) using the following commands: :abbreviate - list abbreviations :args - argument list :augroup - aug
2014-10-12 15:47:30 495
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人