14
Jan

^M 지우기…

   Posted by: poss   in ETC(기타)

: 도스용 문서를 유닉스에서 보면 ^M 이 행끝에 쫙 생기죠.
:
: 이를 모두 없애는 방법은 많이 있겠지만, 제가 즐겨 쓰는 방법입니다.
:
: :1,$s/^M//g
:
: 1,$ — 범위지정
: s — substitute(치환)하라
: ^M — Control Key 를 누른 상태에서 v key 를 누르고
: m key 를 누릅니다.
: // — 공백문자로 치환
: g — 모든 매치된 case를 치환하라.
:
: 는 뜻입니다.

^M 지우는 방법이라………

This entry was posted on 수요일, 1월 14th, 2004 at 12:40 오전 and is filed under ETC(기타). You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment
*

Switch to our mobile site