Annotation of pkgsrc/pkgtools/pkgdiff/files/pkgvi.0, revision 1.1

1.1     ! jschauma    1: PKGVI(1)                NetBSD General Commands Manual                PKGVI(1)
        !             2: 
        !             3: NNAAMMEE
        !             4:      ppkkggvvii - run editor and make backup of given file if necessary
        !             5: 
        !             6: SSYYNNOOPPSSIISS
        !             7:      ppkkggvvii [+command] _f_i_l_e
        !             8: 
        !             9: DDEESSCCRRIIPPTTIIOONN
        !            10:      The ppkkggvvii utility runs the user's favourite editor on a copy of specified
        !            11:      file.  If no changes are made in the editor, nothing happens.  Else the
        !            12:      original file is kept as _f_i_l_e_n_a_m_e_._o_r_i_g, and the modified file is saved as
        !            13:      _f_i_l_e_n_a_m_e.  If ppkkggvvii finds _f_i_l_e_n_a_m_e_._o_r_i_g, it behaves as normal editor and
        !            14:      changes are only made to _f_i_l_e_n_a_m_e, not affecting _f_i_l_e_n_a_m_e_._o_r_i_g.
        !            15: 
        !            16:      Available option:
        !            17: 
        !            18:      ++ccoommmmaanndd
        !            19:              This option is passed unmodified as first argument to the editor.
        !            20:              This is useful when the editor used is vi(1).
        !            21: 
        !            22: EENNVVIIRROONNMMEENNTT
        !            23:      ppkkggvvii uses $PKGEDITOR if defined, then it looks for $EDITOR, if neither
        !            24:      is defined, it uses vi(1).
        !            25: 
        !            26: SSEEEE AALLSSOO
        !            27:      pkgdiff(1)
        !            28: 
        !            29: AAUUTTHHOORRSS
        !            30:      The pkgvi utility was written by Tomasz Luchowski <zuntum@netbsd.org>.
        !            31: 
        !            32: NetBSD 1.6                       May 28, 2003                       NetBSD 1.6

CVSweb <webmaster@jp.NetBSD.org>