1disable [ -afmprs ] name ...
2       Temporarily disable the named hash table elements  or  patterns.
3       The  default is to disable builtin commands.  This allows you to
4       use an external command with the same name as a builtin command.
5       The  -a  option  causes  disable  to  act  on  regular or global
6       aliases.  The -s option causes disable to act on suffix aliases.
7       The  -f option causes disable to act on shell functions.  The -r
8       options causes disable to act on reserved words.  Without  argu-
9       ments  all  disabled  hash table elements from the corresponding
10       hash table are printed.  With the  -m  flag  the  arguments  are
11       taken  as  patterns (which should be quoted to prevent them from
12       undergoing filename expansion), and all hash table elements from
13       the  corresponding  hash  table matching these patterns are dis-
14       abled.  Disabled objects can be enabled with the enable command.
15
16       With the option -p, name ... refer to elements  of  the  shell's
17       pattern  syntax  as  described  in the section `Filename Genera-
18       tion'.  Certain elements can be disabled  separately,  as  given
19       below.
20
21       Note  that  patterns not allowed by the current settings for the
22       options EXTENDED GLOB, KSH GLOB and SH GLOB are  never  enabled,
23                       -         -           -
24       regardless  of  the setting here.  For example, if EXTENDED GLOB
25                                                                  -
26       is not active, the pattern ^ is ineffective even if `disable  -p
27       "^"'  has  not been issued.  The list below indicates any option
28       settings that restrict the use of the  pattern.   It  should  be
29       noted  that  setting SH GLOB has a wider effect then merely dis-
30                              -
31       abling patterns as  certain  expressions,  in  particular  those
32       involving parentheses, are parsed differently.
33
34       The  following  patterns  may  be disabled; all the strings need
35       quoting on the command line to prevent them  from  being  inter-
36       preted  immediately as patterns and the patterns are shown below
37       in single quotes as a reminder.
38       '?'    The pattern character ?  wherever  it  occurs,  including
39              when preceding a parenthesis with KSH GLOB.
40                                                   -
41
42       '*'    The  pattern  character  *  wherever it occurs, including
43              recursive globbing and when preceding a parenthesis  with
44              KSH GLOB.
45                 -
46
47       '['    Character classes.
48
49       '<' (NO SH GLOB)
50              -  -
51              Numeric ranges.
52
53       '|' (NO SH GLOB)
54              -  -
55              Alternation  in  grouped  patterns,  case  statements, or
56              KSH GLOB parenthesised expressions.
57                 -
58
59       '(' (NO SH GLOB)
60              -  -
61              Grouping using single parentheses.  Disabling  this  does
62              not  disable  the  use  of parentheses for KSH GLOB where
63                                                            -
64              they are introduced by a special character, nor for  glob
65              qualifiers  (use  `setopt  NO BARE GLOB QUAL'  to disable
66                                           -    -    -
67              glob qualifiers that use parentheses only).
68
69       '~' (EXTENDED GLOB)
70                    -
71              Exclusion in the form A~B.
72
73       '^' (EXTENDED GLOB)
74                    -
75              Exclusion in the form A^B.
76
77       '#' (EXTENDED GLOB)
78                    -
79              The pattern character # wherever it occurs, both for rep-
80              etition of a previous pattern and for indicating globbing
81              flags.
82
83       '?(' (KSH GLOB)
84                -
85              The grouping form ?(...).  Note this is also disabled  if
86              '?' is disabled.
87
88       '*(' (KSH GLOB)
89                -
90              The  grouping form *(...).  Note this is also disabled if
91              '*' is disabled.
92
93       '+(' (KSH GLOB)
94                -
95              The grouping form +(...).
96
97       '!(' (KSH GLOB)
98                -
99              The grouping form !(...).
100
101       '@(' (KSH GLOB)
102                -
103              The grouping form @(...).
104