vi에서 검색 및 바꾸기 '/'(슬래시)를 어떻게 이스케이프 처리하여 올바른지 확인하십시오. 경로를 말해봐. 같은/in vi 검색 및 바꾸기?
:/사용자/탐/문서/PDF 파일/
:%s//Users/tom/documents/pdfs//<new text>/g --FAILS (obviously)
:%s/\/Users/tom/documents/pdfs\//<new text>/g -- FAILS with a trailing error
:%s/'/Users/tom/documents/pdfs/'/<new text>/g -- FAILS with a trailing error
나는 무엇을 놓치고?
[VIM 찾기/검색에서 어떻게 백 슬래시와 슬래시를 이스케이프 처리합니까?] (http://stackoverflow.com/questions/2465156/how-does-one-escape-backslashes-and-forward-slashes) -in-vim-find-search) – Pureferret