How to use shell magic to create a recursive etags using GNU etags?

前端 未结 4 2054
遥遥无期
遥遥无期 2020-12-15 00:39

The standard GNU etags does not support a recursive walk of directories as done by exuberant ctags -R. If I only have access to the GNU etags, how

4条回答
  •  长情又很酷
    2020-12-15 01:17

    This command creates etags file with default name "TAGS" for .c, .cpp, .Cpp, .hpp, .Hpp .h files recursively

    find . -regex ".*\.[cChH]\(pp\)?" -print | etags -
    

提交回复
热议问题