Print this page
13507 some man pages need update following 13405
6308 some man pages are obsolete after moving to ksh builtins

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/alias.1.man.txt
          +++ new/usr/src/man/man1/alias.1.man.txt
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16         /usr/bin/unalias -a
  17   17  
  18   18  
  19   19     csh
  20   20         alias [name [def]]
  21   21  
  22   22  
  23   23         unalias pattern
  24   24  
  25   25  
  26      -   ksh
  27      -       alias [-tx] [name[= value]...]
  28      -
  29      -
  30      -       unalias name...
  31      -
  32      -
  33      -       unalias [-a]
  34      -
  35      -
  36   26     ksh93
  37   27         alias [-ptx] [name[= value]...]
  38   28  
  39   29  
  40   30         unalias [-a] [name...]
  41   31  
  42   32  
  43   33  DESCRIPTION
  44   34         The alias and unalias utilities create or remove a pseudonym or
  45   35         shorthand term for a command or series of commands, with different
↓ open down ↓ 26 lines elided ↑ open up ↑
  72   62         def are omitted, all aliases are displayed.
  73   63  
  74   64  
  75   65         Because of implementation restrictions, an alias definition must have
  76   66         been entered on a previous command line before it can be used.
  77   67  
  78   68  
  79   69         unalias discards aliases that match (filename substitution) pattern.
  80   70         All aliases can be removed by `unalias *'.
  81   71  
  82      -   ksh
  83      -       alias with no arguments prints the list of aliases in the form
  84      -       name=value on standard output. An alias is defined for each name whose
  85      -       value is specified. A trailing space in value causes the next word to
  86      -       be checked for alias substitution. The -t flag is used to set and list
  87      -       tracked aliases. The value of a tracked alias is the full pathname
  88      -       corresponding to the specified name. The value becomes undefined when
  89      -       the value of PATH is reset but the aliases remained tracked. Without
  90      -       the -t flag, for each name in the argument list for which no value is
  91      -       specified, the name and value of the alias is printed. The -x flag is
  92      -       used to set or print exported aliases. An exported alias is defined for
  93      -       scripts invoked by name. The exit status is non-zero if a name is
  94      -       specified, but no value, and no alias has been defined for the name.
  95      -
  96      -
  97      -       The aliass specified by the list of names can be removed from the alias
  98      -       list with unalias.
  99      -
 100   72     ksh93
 101   73         alias creates or redefines alias definitions or writes the existing
 102   74         alias definitions to standard output.
 103   75  
 104   76  
 105   77         An alias definition provides a string value that replaces a command
 106   78         name when the command is read. Alias names can contain any printable
 107   79         character that is not special to the shell. If an alias value ends in a
 108   80         SPACE or TAB, the word following the command name the alias replaces is
 109   81         also checked to see whether it is an alias.
↓ open down ↓ 19 lines elided ↑ open up ↑
 129  101         executed.
 130  102  
 131  103  OPTIONS
 132  104         The following option is supported by unalias:
 133  105  
 134  106         -a
 135  107               Removes all alias definitions from the current shell execution
 136  108               environment.
 137  109  
 138  110  
 139      -   ksh
 140      -       The following option is supported by alias:
 141      -
 142      -       -t
 143      -             Sets and lists tracked aliases.
 144      -
 145      -
 146  111     ksh93
 147  112         The following options are supported by alias:
 148  113  
 149  114         -p
 150  115               Causes the output to be in the form of alias commands that can be
 151  116               used as input to the shell to recreate the current aliases.
 152  117  
 153  118  
 154  119         -t
 155  120               Specifies tracked aliases.
↓ open down ↓ 116 lines elided ↑ open up ↑
 272  237         >0
 273  238               One of the alias-name operands specified did not represent a
 274  239               valid alias definition, or an error occurred.
 275  240  
 276  241  
 277  242  ATTRIBUTES
 278  243         See attributes(5) for descriptions of the following attributes:
 279  244  
 280  245     csh, ksh
 281  246  
 282      -
 283      -
 284  247         +--------------------+-------------------+
 285  248         |  ATTRIBUTE TYPE    |  ATTRIBUTE VALUE  |
 286  249         +--------------------+-------------------+
 287  250         |Interface Stability | Committed         |
 288  251         +--------------------+-------------------+
 289  252         |Standard            | See standards(5). |
 290  253         +--------------------+-------------------+
 291  254  
 292  255     ksh93
 293  256  
 294      -
 295      -
 296  257         +--------------------+-----------------+
 297  258         |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 298  259         +--------------------+-----------------+
 299  260         |Interface Stability | Uncommitted     |
 300  261         +--------------------+-----------------+
 301  262  
 302  263  SEE ALSO
 303  264         csh(1), ksh(1), ksh93(1), shell_builtins(1), attributes(5), environ(5),
 304  265         standards(5)
 305  266  
 306  267  
 307  268  
 308      -                                 April 8, 2008                        ALIAS(1)
      269 +                               February 9, 2021                       ALIAS(1)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX