Home > How To > ctags -R * Not Working [RESOLVED]

ctags -R * Not Working [RESOLVED]

I was working on few c programs and wanted to create tags

$ ctags -R * 

// To create tags – recursive all the directory it did not work, it gave the below message

ctags: skipping client: it is not a regular file.
ctags: skipping doc: it is not a regular file.
ctags: skipping etc: it is not a regular file.
ctags: skipping expat: it is not a regular file.
ctags: skipping html: it is not a regular file.
ctags: skipping man: it is not a regular file.
ctags: skipping server: it is not a regular file.
ctags: skipping inclusion of tags in self.
ctags: skipping tests: it is not a regular file.

Then I checked the version I found that I was NOT running exuberant-ctags

ctags (GNU Emacs 23.1)
 Copyright (C) 2009 Free Software Foundation, Inc.
 This program is distributed under the terms in ETAGS.README
 
-R, –no-regex
           Don't  do  any more regexp matching on the following files.  May
          be freely intermixed with filenames and the –regex option.

 Just run the below command

$ sudo apt-get install exuberant-ctags

Advertisements
Categories: How To
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: