|
我看网络上说:
“$ ctags –R*”:“-R”表示递归创建,也就包括源代码根目录(当前目录)下的所有子目录。“*”表示所有文件。
但我在$ctags --help中看到的是:
Usage: ctags [options] [[regex-option ...] file-name] ...
These are the options accepted by ctags.
You may use unambiguous abbreviations for the long option names.
…………
-r /REGEXP/, --regex=/REGEXP/ or --regex=@regexfile
Make a tag for each line matching pattern REGEXP in the following
files. {LANGUAGE}/REGEXP/ uses REGEXP for LANGUAGE files only.
regexfile is a file containing one REGEXP per line.
REGEXP is anchored (as if preceded by ^).
The form /REGEXP/NAME/ creates a named tag.
For example Tcl named tags can be created with:
--regex="/proc[ \t]+\([^ \t]+\)/\1/."
…………
-R, --no-regex
Don't create tags from regexps for the following files.
如何是$ctags */*,这是不是只是两层目录,那更深的呢?
到底怎么才行啊?有没有谁知道呢?谢谢
我的是Ubuntu 6.06 LTS - Dapper Drake - 该版本发布于2006年6月
VIM - Vi IMproved 7.0
root@MagicWorld:/usr/g/snort-2.8.0.2/src# ctags -V
ctags (GNU Emacs 21.4)
Copyright (C) 1999 Free Software Foundation, Inc. and Ken Arnold
This program is distributed under the same terms as Emacs |
|