alias
Abstract
Defines a command alias, or displays all defined aliases.
Syntax
alias <name> [<value>]
| Argument | Type | Description |
|---|---|---|
<name> |
string | Name of the alias to be defined or displayed. |
<value> |
string | Value to be assigned to the alias. This can be a full ODB command or the first part of one. |
Details
This command implements command aliases, as described in Command Aliases. Alone or with the <name> argument, it displays the value of defined aliases. With both <name> and <value> arguments, it defines a new alias or updates an existing one. Use unalias to remove an alias definition.
Example
ODB> alias get_size attrset #80 "pk size pdf"
Added alias "get_size"
ODB> alias
[alias ]:[maps to]
get_size : attrset #80 "pk size pdf"