Sun Studio 12: Debugging a Program With dbx

dalias Command

The dalias command defines a dbx-style (csh-style) alias. It is valid only in native mode.

Syntax

dalias

(dbx alias) List all currently defined aliases.

dalias name

List the definition, if any, of alias name.

dalias name definition

Define name to be an alias for definition. definition may contain white space. A semicolon or newline terminates the definition.

where:

name is the name of an alias

definition is the definition of an alias.

dbx accepts the following csh history substitution meta-syntax, which is commonly used in aliases:

!:<n>

!-<n>

!^

!$

!*

The ! usually needs to be preceded by a backslash. For example:

dalias goto "stop at \!:1; cont; clear"

For more information, see the csh(1) man page.