RE: [Ctags] Can't use .ctags file
Brought to you by:
dhiebert
From: Saar M. <SAARMA@Amdocs.com> - 2003-04-06 06:35:10
|
Hi, Thank you, ok, got it, I had to give a full path to the -f option These 2 options didn't work -f ~$USER/bin/vim61/ctags5.5/tags -f ~saarma/bin/vim61/ctags5.5/tags This one works -f /sbusr13.n005/sbms/csm/saarma/bin/vim61/ctags-5.5/tags maybe something for next version??? -----Original Message----- From: Darren Hiebert [mailto:dhi...@us...] Sent: Thursday, April 03, 2003 4:48 AM To: Saar Machtinger Cc: Ctags Users Subject: Re: [Ctags] Can't use .ctags file On Wed, 2 Apr 2003, Saar Machtinger wrote: > Just installed the new 5.5 ver. > I have created the ~/.ctags file with: > --append=3Dyes > -f ~saarma/bin/vim61/ctags-5.5/tags First of all, it is not valid to use shell contructs that require shell expansion, because the contents of this file are never passed through the shell. The pathname "~saarma/..." is such a construct. The '~' character is expanded by the shell when encountered on a shell command line before it gets to ctags. Thus, ctags would report an error with this path if it was able to procede beyond the error below. > But when trying to run ctags, I get the error: > ctags: No files specified. Try "ctags --help". What command line are you using to run ctags? It appears that you have not supplied a list of one or more files for ctags to process. P.S.: You can verify ctags initialization (including the reading of the ~/.ctags file) by suppling -V as the first argument on the command line. --=20 Darren Hiebert http://DarrenHiebert.com http://ctags.sourceforge.net |