2014-01-17 3 views
2

cscope에서 마침표가있는 문자열을 검색하는 방법은 무엇입니까? 예를 들면. 나는 내 코드에서 선cscope에서 마침표가있는 문자열을 검색하는 방법은 무엇입니까?

.mount = testmount 

을 가지고,하지만 난이 C 기호 또는 텍스트 문자열 .mount을 검색하려고하면, 나는 단어 대신 마운트 포함하는 모든 라인을 얻을. 이스케이프 문자로 백 슬래시를 사용하는 것도 작동하지 않는 것 같습니다. egrep을 패턴 대신 텍스트 또는 기호

답변

1

검색 기간은 기호 또는 텍스트를 검색하는 egrep을 패턴과 파일하지만 검색을위한 유효한 입력하기 때문에 검색 문자열에 마침표가있는 경우. cscope를 시작하면

, 그것은 다음과 같은 옵션이 나타납니다. "이 egrep 패턴 찾기 :"를 선택하십시오.

Find this C symbol: 
Find this global definition: 
Find functions called by this function: 
Find functions calling this function: 
Find this text string: 
Change this text string: 
Find this egrep pattern:.mount 
Find this file: 
Find files: