Thursday, September 15, 2011

Making emacs TAGS files for a tree of source code

 This command makes an emacs tags file when you've got a tree of many types of file (in this case mixed C and assembler, with makefiles)

$ find .  \( -name "*.[ch]" -or -name "*.inc" -or -name "*.s" -or -name "*.mk" \) -print | xargs etags -a

No comments:

Post a Comment