跳到主要內容
搜尋
搜尋此網誌
Replay
Pages
首頁
About Me
My Toolbox
Linux
更多…
設定grep預設exclude條件
4月 19, 2012
grep很好用, 每次下--exclude濾掉沒用到的檔案有點煩麻, 利用GREP_OPTION就可以省去此動作.
export GREP_OPTIONS="--exclude=cscope.out --exclude=*~ --exclude=tags --exclude=*.~*"
留言
留言