changeset 86091:f4b63f572df1

Note that you can use "-" with --output=file in Etags.
author Francesco Potortì <pot@gnu.org>
date Thu, 15 Nov 2007 15:07:49 +0000
parents 4023cc57741b
children 22332515837b
files doc/emacs/maintaining.texi
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/maintaining.texi	Thu Nov 15 14:54:56 2007 +0000
+++ b/doc/emacs/maintaining.texi	Thu Nov 15 15:07:49 2007 +0000
@@ -367,7 +367,10 @@
 
 @noindent
 The @code{etags} program reads the specified files, and writes a tags
-table named @file{TAGS} in the current working directory.
+table named @file{TAGS} in the current working directory.  You can
+optionally specify a different file name for the tags table by using the
+@samp{--output=@var{file}} option; specifying @file{-} as a file name
+prints the tags table to standard output.
 
   If the specified files don't exist, @code{etags} looks for
 compressed versions of them and uncompresses them to read them.  Under
@@ -406,7 +409,8 @@
 directory where the tags file was initially written.  This way, you can
 move an entire directory tree containing both the tags file and the
 source files, and the tags file will still refer correctly to the source
-files.  If the tags file is in @file{/dev}, however, the file names are
+files.  If the tags file is @file{-} or is in the @file{/dev} directory,
+however, the file names are 
 made relative to the current working directory.  This is useful, for
 example, when writing the tags to @file{/dev/stdout}.