HP 3000 Manuals

ALIASL[IST] [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

ALIASL[IST] 

Lists the currently defined aliases.

Syntax 

      ALIAS[LIST] [pattern] [group]

Parameters 

 pattern         The alias name(s) to be displayed.

                 This parameter can be specified with wildcards or with a
                 full regular expression.  Refer to appendix A for
                 additional information about pattern matching and
                 regular expressions.

                 The following wildcards are supported:

                 @          Matches any character(s).
                 ?          Matches any alphabetic character.
                 #          Matches any numeric character.

                 The following are valid name pattern specifications:

                 @          Matches everything; all names.
                 pib@       Matches all names that start with "pib".
                 log2##4    Matches "log2004", "log2754", and so on.

                 The following regular expressions are equivalent to the
                 patterns with wildcards that are listed above:

                      `.*`
                      `pib.*`
                      `log2[0-9][0-9]4`

                 By default, all alias names are listed, subject to the
                 group specification described below.

 group           The type of aliases that are to be listed.  Aliases are
                 classified as USER or PREDEFINED aliases.  ALL refers to
                 both types of alias.

                 U[SER]        User-defined aliases
                 P[REDEFINED]  Predefined aliases
                 A[LL]         Both user-defined and predefined aliases

                 By default, ALL aliases are deleted.  In order to
                 restrict the listing to a single group of aliases, the
                 group USER or PREDEFINED must be specified.

Examples 

     $nmdebug > aliasl del@ p 
      alias deletealias aliasd   /* predefined
      alias deleteb     bd       /* predefined
      alias deleteerr   errd     /* predefined
      alias deletemac   macd     /* predefined
      alias deletevar   vard     /* predefined

List all predefined aliases that start with "del".

     $nmdebug > alias quit exit 
     $nmdebug > alias q quit 
     $nmdebug > alias bye exit 
     $nmdebug > aliasl ,user 
     alias bye  exit   /* user
     alias q    quit   /* user
     alias quit exit   /* user

Define three other command aliases that can be used in place of the EXIT
command and list them.

Related commands:  ALIAS, ALIASD, ALIASINIT.

Limitations, Restrictions 

none


CAUTION The output format of all System Debug commands is subject to change without notice. Programs that are developed to postprocess System Debug output should not depend on the exact format (spacing, alignment, number of lines, uppercase or lowercase, or spelling) of any System Debug command output.


MPE/iX 5.0 Documentation