Annotation of coherent/a/usr/man/COHERENT/set, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: set                          Command                          set
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Set shell option flags and positional parameters
                      9: 
                     10: sseett [-cceeiikknnssttuuvvxx [_n_a_m_e ...] ] (Bourne shell)
                     11: sseett [[+-]aaeeffhhkkmmnnuuvvxx] [[+-]oo _n_a_m_e] (Korn shell)
                     12: 
                     13: sseett changes the options  of the current shell and optionally sets
                     14: the  values  of  positional  parameters.   This command  is  used
                     15: implemented  by both  the Bourne  and  Korn shells;  however, its
                     16: syntax and options vary from one shell to the other.
                     17: 
                     18: ***** Bourne Shell *****
                     19: 
                     20: The shell  variable `$-' contains the  currently set shell flags.
                     21: If the  optional _n_a_m_e list  is given, sseett  assigns the positional
                     22: parameters $11, $22 ... to the given shell variables.
                     23: 
                     24: sseett recognizes the following options:
                     25: 
                     26: -cc _s_t_r_i_n_g
                     27:     Read shell commands from _s_t_r_i_n_g.
                     28: 
                     29: -ee  Exit  on any  error (command not  found or  command returning
                     30:     nonzero status) if the shell is not interactive.
                     31: 
                     32: -ii  The  shell  is  interactive,  even  if  the terminal  is  not
                     33:     attached to it; print  prompt strings.  For a shell reading a
                     34:     script, ignore signals SSIIGGTTEERRMM and SSIIGGIINNTT.
                     35: 
                     36: -kk  Place all keyword  arguments into the environment.  Normally,
                     37:     the shell places  only assignments to variables preceding the
                     38:     command into the environment.
                     39: 
                     40: -nn  Read commands but do not execute them.
                     41: 
                     42: -ss  Read commands from  the standard input and write shell output
                     43:     to the standard error.
                     44: 
                     45: -tt  Read and execute one command rather than the entire file.
                     46: 
                     47: -uu  If the  actual value of a shell variable  is blank, report an
                     48:     error rather than substituting the null string.
                     49: 
                     50: -vv  Print each line as it is read.
                     51: 
                     52: -xx  Print each command and its arguments as it is executed.
                     53: 
                     54: -   Cancel the -xx -vv options.
                     55: 
                     56: The shell executes sseett directly.
                     57: 
                     58: ***** Korn Shell *****
                     59: 
                     60: sseett recognizes  the following options.  Preceding  an option with
                     61: `-' turns on the option; preceding it with `+' turns it off.
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 
                     67: 
                     68: 
                     69: set                          Command                          set
                     70: 
                     71: 
                     72: 
                     73: 
                     74: -aa aalllleexxppoorrtt: Automatically export all new variables.
                     75: 
                     76: -ee eerrrreexxiitt: Exit from the shell when non-zero status is received.
                     77: 
                     78: -ff nnoogglloobb: Do not expand file names.  This globally turns off the
                     79:    special meaning of characters `*' and `?'.
                     80: 
                     81: -hh ttrraacckkaallll: Automatically  add all commands to  the shell's hash
                     82:    table.
                     83: 
                     84: -kk kkeeyywwoorrdd: Recognize variable assignments anywhere in a command.
                     85: 
                     86: -mm mmoonniittoorr: Enable  job control.  See the  Lexicon article on kksshh
                     87:    for details on job control and how to use it.
                     88: 
                     89: -nn nnooeexxeecc: Compile an input command, but do not execute it.
                     90: 
                     91: -oo _o_p_t_i_o_n
                     92:    Set _o_p_t_i_o_n. sseett recognizes the following _o_p_t_i_o_ns:
                     93: 
                     94: aalllleexxppoorrtt
                     95:         Same as -aa option, above.
                     96: 
                     97: eemmaaccss   Turn on MicroEMACS-style editing of command lines.
                     98: 
                     99: eerrrreexxiitt
                    100:         Same as -ee option, above.
                    101: 
                    102: iiggnnoorreeeeooff
                    103:         Tell the  shell not  to exit when  reading EOF:  must use
                    104:         eexxiitt command to exit from the shell.
                    105: 
                    106: kkeeyywwoorrdd
                    107:         Same as -kk option, above.
                    108: 
                    109: mmoonniittoorr
                    110:         Same as -mm option, above.
                    111: 
                    112: nnooeexxeecc  Same as -nn option, above.
                    113: 
                    114: nnoogglloobb  Same as -ff option, above.
                    115: 
                    116: ttrraacckkaallll
                    117:         Same as -hh option, above.
                    118: 
                    119: nnoouunnsseett
                    120:         Same as -uu option, below.
                    121: 
                    122: vveerrbboossee
                    123:         Same as -vv option, below.
                    124: 
                    125: xxttrraaccee  Same as -xx option, below.
                    126: 
                    127: 
                    128: 
                    129: 
                    130: COHERENT Lexicon                                           Page 2
                    131: 
                    132: 
                    133: 
                    134: 
                    135: set                          Command                          set
                    136: 
                    137: 
                    138: 
                    139: -uu nnoouunnsseett: Treat  dollar-sign expansion of an  unset variable as
                    140:    an error.
                    141: 
                    142: -vv vveerrbboossee: When  compiling a  command, echo its  compiled (i.e.,
                    143:    expanded) version on the standard output before executing it.
                    144: 
                    145: -xx xxttrraaccee: Echo simple commands while executing.
                    146: 
                    147: The shells execute sseett directly.
                    148: 
                    149: ***** See Also *****
                    150: 
                    151: ccoommmmaannddss, kksshh, sshh
                    152: 
                    153: 
                    154: 
                    155: 
                    156: 
                    157: 
                    158: 
                    159: 
                    160: 
                    161: 
                    162: 
                    163: 
                    164: 
                    165: 
                    166: 
                    167: 
                    168: 
                    169: 
                    170: 
                    171: 
                    172: 
                    173: 
                    174: 
                    175: 
                    176: 
                    177: 
                    178: 
                    179: 
                    180: 
                    181: 
                    182: 
                    183: 
                    184: 
                    185: 
                    186: 
                    187: 
                    188: 
                    189: 
                    190: 
                    191: 
                    192: 
                    193: 
                    194: 
                    195: 
                    196: COHERENT Lexicon                                           Page 3
                    197: 
                    198: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.