Annotation of coherent/a/usr/man/COHERENT/case, revision 1.1

1.1     ! root        1: 
        !             2: 
        !             3: case                         Command                         case
        !             4: 
        !             5: 
        !             6: 
        !             7: 
        !             8: Execute commands conditionally according to pattern
        !             9: 
        !            10: ccaassee _t_o_k_e_n iinn
        !            11: [ _p_a_t_t_e_r_n [ | _p_a_t_t_e_r_n ] ... ) _s_e_q_u_e_n_c_e ;; ] ...
        !            12: esac
        !            13: 
        !            14: case is  a construct  that used  by the shell  sh.  It  tells the
        !            15: shell to execute  commands conditionally, according to a pattern.
        !            16: It tests  the given token  successively against each  pattern, in
        !            17: the order  given.  It then executes the  commands in the sequence
        !            18: corresponding  to  the  first  matching  pattern.   Optional  `|'
        !            19: clauses specify additional patterns corresponding to a single se-
        !            20: quence.  If no pattern  matches the token, the case construct ex-
        !            21: ecutes no commands.
        !            22: 
        !            23: Each pattern  can include  text characters (which  match themsel-
        !            24: ves), special characters  `?' (which matches any character except
        !            25: newline)  and  `*' (which  matches  any  sequence of  non-newline
        !            26: characters), and  character classes  enclosed in brackets  `[ ]';
        !            27: ranges of characters within a  class may be separated by `-'.  In
        !            28: particular, the  last pattern in  a case construct  is often `*',
        !            29: which will match any token.
        !            30: 
        !            31: The shell executes case directly.
        !            32: 
        !            33: ***** See Also *****
        !            34: 
        !            35: commands, sh
        !            36: 
        !            37: 
        !            38: 
        !            39: 
        !            40: 
        !            41: 
        !            42: 
        !            43: 
        !            44: 
        !            45: 
        !            46: 
        !            47: 
        !            48: 
        !            49: 
        !            50: 
        !            51: 
        !            52: 
        !            53: 
        !            54: 
        !            55: 
        !            56: 
        !            57: 
        !            58: 
        !            59: 
        !            60: 
        !            61: 
        !            62: 
        !            63: 
        !            64: COHERENT Lexicon                                           Page 1
        !            65: 
        !            66: 

unix.superglobalmegacorp.com

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