Tag(1)

NAME
Tag - Search for and move to a tagged location

SYNOPSIS
Tag [-v] name

OPTIONS

-v  If the -v option is present, Tag prints its version number and date and exits.

DESCRIPTION
Tag must be able to connect to a running wily (1).

Tag looks for a tag entry corresponding to name in the file Tags in the current directory. Each line in the Tags file is a tag entry consisting of a name, then a space, then a wily address. If Tag finds a unique entry corresponding to name , it executes a wgoto command to search for and move to the address. If Tag finds more than one entry corresponding to name , it prints the addresses to the +Errors window and executes a Goto command to move to the +Errors window. The correct address can then be selected.

RETURNS
Tag returns zero if it was able to find a unique tag entry and execute the wgoto command successfully, otherwise it returns non-zero. No indication of the success or the failure of the actual search is given.

EXAMPLES
Find the tag entry corresponding to main Tag main

FILES
Tags

SEE ALSO
wily(1), mktags(1) wgoto(1),

AUTHOR
Alan Watson (alan@oldp.nmsu.edu)