Muninn's story

SEARCH RESAULT : 글 검색 결과 - cscope (총 1개)

POST : 잊어먹을까봐 저장하는 놈들/programming

filelist 작성법

cscope, global 등에서 tag를 만들 file list 작성시에 find/grep 조합을 이용한다.
본인이 사용하는 방법:

find  src \
       -regextype posix-egrep \
       -path "포함 안시킬 녀석" -prune -o \
       -regex ".*\.(c|h|cpp|s|mk|o|d|java)$" -print > filelist

몇가지 버그가 있고 좀 엉성하지만 그런데로 잘 쓰고 있다. regex를 공부해야 하는데.. 쩝.  

--> e.g.

find /home/muninn/workspace/webkit/WebKit-r124435/Source/ -regextype posix-egrep -regex ".*\.(c|h|cpp|s|mk|o|d|java)$" -print > cscope/cscope.files

top

posted at

2011. 3. 21. 17:33


CONTENTS

Muninn's story
BLOG main image

RSS 2.0Tattertools
공지
아카이브
최근 글 최근 댓글 최근 트랙백
카테고리 태그 구름사이트 링크