PKGVI(1) NetBSD General Commands Manual PKGVI(1) NNAAMMEE ppkkggvvii -- run editor and make backup of given file if necessary SSYYNNOOPPSSIISS ppkkggvvii [+command] _f_i_l_e DDEESSCCRRIIPPTTIIOONN The ppkkggvvii utility runs the user's favourite editor on a copy of specified file. If no changes are made in the editor, nothing happens. Else the original file is kept as _f_i_l_e_n_a_m_e_._o_r_i_g, and the modified file is saved as _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 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. In both cases ppkkggvvii ensures that the file to be edited is writable by the user. Available option: ++ccoommmmaanndd This option is passed unmodified as first argument to the editor. This is useful when the editor used is vi(1). EENNVVIIRROONNMMEENNTT ppkkggvvii uses $PKGEDITOR if defined, then it looks for $EDITOR, if neither is defined, it uses vi(1). SSEEEE AALLSSOO pkgdiff(1) AAUUTTHHOORRSS The pkgvi utility was written by Tomasz Luchowski . NetBSD 5.0 Aug 1, 2006 NetBSD 5.0