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

1.1     ! root        1: 
        !             2: 
        !             3: 
        !             4: EDSCRIPT(1)           Icon Program Library            EDSCRIPT(1)
        !             5: 
        !             6: 
        !             7: 
        !             8: NNNNAAAAMMMMEEEE
        !             9:      edscript - generate script for ed(1)
        !            10: 
        !            11: SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
        !            12:      eeeeddddssssccccrrrriiiipppptttt
        !            13: 
        !            14: DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
        !            15:      _E_d_s_c_r_i_p_t takes specifications for global edits from standard
        !            16:      input and outputs an edit script for _e_d(_1) to standard out-
        !            17:      put.  _E_d_s_c_r_i_p_t is primarily useful for making complicated
        !            18:      literal substitutions that involve characters that have syn-
        !            19:      tactic meaning to _e_d(_1) and hence are difficult to enter in
        !            20:      _e_d(_1).
        !            21: 
        !            22:      Each specification begins with a delimiter, followed by a
        !            23:      target string, followed by the delimiter, followed by the
        !            24:      replacement string, followed by the delimiter.  For example
        !            25: 
        !            26:           |...|**|
        !            27:           |****||
        !            28: 
        !            29:      specifies the replacement of all occurrences of three con-
        !            30:      secutive periods by two asterisks, followed by the deletion
        !            31:      of all occurrences of four consecutive asterisks.  Any char-
        !            32:      acter may be used for the delimiter, but the same character
        !            33:      must be used in all three positions in any specification,
        !            34:      and the delimiter character cannot be used in the target or
        !            35:      replacement strings.
        !            36: 
        !            37: DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
        !            38:      Any line that does not have proper delimiter structure is
        !            39:      noted and does not contribute to the edit script.
        !            40: 
        !            41: SSSSEEEEEEEE AAAALLLLSSSSOOOO
        !            42:      ed(1)
        !            43: 
        !            44: AAAAUUUUTTTTHHHHOOOORRRR
        !            45:      Ralph E. Griswold
        !            46: 
        !            47: 
        !            48: 
        !            49: 
        !            50: 
        !            51: 
        !            52: 
        !            53: 
        !            54: 
        !            55: 
        !            56: 
        !            57: 
        !            58: 
        !            59: 
        !            60: 
        !            61: 
        !            62: 
        !            63: Version 5.9    The University of Arizona - 3/27/83              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.