What do you mean by that? Is there no file (yes, you said there is)? Do you not know the file name? Can vi not open it? If yes, what error message do you get? Can you read the content of the file with more? If you can open the file, is the problem that you can't see the correct content? Or do you not know what content to expect? Or is the output so complex that it is correct and complete, but it is impractical to work with?... but I can't use it with vi.
ctagsin favor of devel/ctags. I find the latter a lot easier to use (at least for C projects):
exctags -Rgenerates a comprehensive list of tags.
ABDATE /usr/ports/astro/luna/files/patch-pyramid.h /^ typedef long ABDATE;$/ ABORT /usr/local/lib/perl5/5.28/mach/CORE/unixish.h /^#define ABORT() kill(PerlProc_getpid(),SIGABRT);$/ ABS /usr/local/include/glib-2.0/glib/gmacros.h /^#define ABS(a) (((a) < 0) ? -(a) : (a))$/ ABSPATH /usr/local/include/bash/general.h /^# define ABSPATH(x) ((x) == '\/')$/ ABS_SET /usr/include/sys/linker_set.h /^#define ABS_SET(set, sym) __MAKE_SET(set, sym)$/ ACC /usr/include/sys/kbio.h /^#define ACC(x) ((x)+F_ACC)$/ ACCEPT_LOCK /usr/include/sys/socketvar.h /^#define ACCEPT_LOCK() mtx_lock(&accept_mtx)$/ ACCEPT_LOCK_ASSERT /usr/include/sys/socketvar.h /^#define ACCEPT_LOCK_ASSERT() mtx_assert(&accept_m/ ACCEPT_UNLOCK /usr/include/sys/socketvar.h /^#define ACCEPT_UNLOCK() mtx_unlock(&accept_mtx)$/ ACCEPT_UNLOCK_ASSERT /usr/include/sys/socketvar.h /^#define ACCEPT_UNLOCK_ASSERT() mtx_assert(&accept/
find / -type f -name '*.[ch]' | xargs ctags -a
I think you didn't get the point. It's not about opening the tags file.and had no trouble opening the file with vi
exctags -Ralways works.
^] Searches for the word which is after the cursor as a tag. Equivalent to typing :ta, this word, and
then a CR. Mnemonically, this command is “ right to” (7.3).
Reaction score: 519
sed -e '/#define.*$/s|.|&;" d file:|;' -e '/#define.*$/\!s|.|&;" f|;' -i ".base" tags
sed -e '/#define.[I]$/s|.[/I]|&;" d file:|;' -e '/#define.[I]$/\!s|.[/I]|&;" f|;' -i ".base" tags