alt(1) CLIX alt(1)
NAME
alt - Runs the Ada library tool
SYNOPSIS
alt [file]
DESCRIPTION
The alt command allows the interactive display and editing of an Ada
library file produced by the Ac command. If file is a directory, the
ADA-LIBRARY file is sought within the directory. If no file is specified,
the ADA-LIBRARY file is used.
The following commands are recognized by alt:
l [-dlst] [name ... ]
Displays the library contents. The default format displays each
unit name followed by a description of the unit kind.
The l command recognizes the following flags:
-d Displays the dependencies recorded for each compilation unit.
-l Displays in long format giving the source file and last
compilation date of each compilation unit.
-s Displays subunit information. The full parent name is given
for each subunit and a list of all subunits is given for each
parent.
-t Sorts compilation units by compilation times (latest first)
instead of by name.
d [-i] name ...
Deletes all named compilation units from the library. If the -i
(interactive) flag is specified, the user is asked whether each
compilation unit is to be deleted.
w [file]
Saves the library in the given file. If no file is specified, the
original is used.
q
end-of-file
Quits the session.
!command
Escapes to the shell to execute command.
2/94 - Intergraph Corporation 1
alt(1) CLIX alt(1)
Names given in an l or d command can be expressed as regular expressions
in the style of the egrep command.
EXAMPLES
This is a sample alt session.
$ alt
? l
qmaze
main
? q
$
In this session, the alt command is started. The l command lists the
specified library contents, which in this case is qmaze, a package
declaration, and main, a subprogram body. The user then enters a q to
quit the alt command.
EXIT VALUES
The alt command exits with a value of 0 if successful. If unsuccessful,
this command exits with a value of 1.
RELATED INFORMATION
Commands: Ac(1), adep(1), egrep(1)
2 Intergraph Corporation - 2/94