Annotation of 43BSD/contrib/icon/man/cat1/delamc.1, revision 1.1

1.1     ! root        1: 
        !             2: 
        !             3: 
        !             4: DELAMC(1)             Icon Program Library              DELAMC(1)
        !             5: 
        !             6: 
        !             7: 
        !             8: NNNNAAAAMMMMEEEE
        !             9:      delamc - delaminate a file using separator characters
        !            10: 
        !            11: SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
        !            12:      ddddeeeellllaaaammmmcccc [-tchars] {infile | -} {outputfile | -}...
        !            13: 
        !            14: DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
        !            15:      _D_e_l_a_m_c delaminates an input file into several output files
        !            16:      according to the separator characters specified by the cccchhhhaaaarrrrssss
        !            17:      argument following the ----tttt flag.  _D_e_l_a_m_c reads iiiinnnnffffiiiilllleeee and
        !            18:      writes the fields in each line to the corresponding output
        !            19:      files as individual lines. If no data occurs in the speci-
        !            20:      fied position for a given input line an empty output line is
        !            21:      written. This insures that all output files contain the same
        !            22:      number of lines as the input file.
        !            23: 
        !            24:      If `-' is used for iiiinnnnffffiiiilllleeee, the standard input is read.  If
        !            25:      `-' is used as an output file name, the corresponding field
        !            26:      is written to the standard output. If the ----tttt flag is not
        !            27:      used, an ascii horizontal tab character is assumed as the
        !            28:      default field separator.
        !            29: 
        !            30:      The use of _d_e_l_a_m_c is illustrated by the following examples.
        !            31: 
        !            32:           delamc tst.asm labels opcodes operands
        !            33: 
        !            34:      reads the file _t_s_t._a_s_m and writes the fields, each of which
        !            35:      is separated by a tab character, to the output files _l_a_b_e_l_s,
        !            36:      _o_p_c_o_d_e_s, and _o_p_e_r_a_n_d_s.
        !            37: 
        !            38:           delamc -t: scores names matric ps1 ps2 ps3
        !            39: 
        !            40:      reads the file _s_c_o_r_e_s and writes the fields, each of which
        !            41:      is separated by a colon, to the indicated output files.
        !            42: 
        !            43:           delamc -t,:; oldata f1 f2
        !            44: 
        !            45:      reads the file _o_l_d_a_t_a and separates the fields using either
        !            46:      a comma, a colon, or a semicolon.
        !            47: 
        !            48: NNNNOOOOTTTTEEEESSSS
        !            49:      The functionality of the Software Tools _d_e_l_a_m has been
        !            50:      divided. _D_e_l_a_m_c differs from the Tools syntax by allowing a
        !            51:      set of separation characters to be specified.
        !            52: 
        !            53: SSSSEEEEEEEE AAAALLLLSSSSOOOO
        !            54:      lam(1), delam(1)
        !            55: 
        !            56:      Hanson, David R. _S_o_f_t_w_a_r_e _T_o_o_l_s _U_s_e_r'_s _M_a_n_u_a_l, Technical
        !            57:      Report TR 81-20, Department of Computer Science, The Univer-
        !            58:      sity of Arizona.  1981.
        !            59: 
        !            60: 
        !            61: 
        !            62: 
        !            63: Version 5.9    The University of Arizona - 8/15/84              1
        !            64: 
        !            65: 
        !            66: 

unix.superglobalmegacorp.com

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