pstags(1)
NAME
pstags − create a POSTSCRIPT language or NeWS tags file for use with vi
SYNOPSIS
pstags [ −f tagsfile ] [ files ]
DESCRIPTION
pstags makes a tags file for ex(1) from a POSTSCRIPT language or NeWS source file. See ctags(1) for more information. pstags tags lines with the string cdef and lines with the hint pstag=<tagname> embedded anywhere in a comment.
The default tagfile is tags.ps. Because this is not in the default tag search path, the command
set tags=tags tags.ps
is required in vi(1), or in the user’s .exrc file to initialize that path. Depending on the system, a backslash may be required to escape the space between tags and tags.ps.
OPTIONS
None.
EXAMPLES
Using pstags on a file containing the function definition
cdef function_name(int arg)
produces the tag function_name.
Inserting the comment:
/ name { % object => - pstag=<name>
in the source file yields the tag name for that line. Note that it is the string within the <...> that is used as the tag.
FILES
tags.ps output tags file
SEE ALSO
ctags(1), ex(1), psindent(1), vgrind(1), vi(1)
BUGS
Should be able to identify the tags without the hint in the comment.
AUTHOR
Josh Siegel (siegel@hc.dspo.gov)
SunOS 5.2 — Last change: 9 Mar 1989