View Single Post
  #6   (View Single Post)  
Old 16th April 2013
mjcross mjcross is offline
New User
 
Join Date: Jan 2013
Posts: 8
Default

If your filenames might have spaces in them, then I would recommend doing it like this instead:
Code:
find . -print0 -type f -iname '*.[chly]' -or -iname '*.cpp' | xargs -0 ctags
Furthermore if performance isn't an issue it is better to let ctags decide whether the content is taggable rather than filtering on filenames, by simply doing:
Code:
find . -print0 -type f | xargs -0 ctags

Last edited by mjcross; 16th April 2013 at 10:05 AM. Reason: wrong tags
Reply With Quote