summaryrefslogtreecommitdiff
path: root/pkgtools/pkgdiff/files/pkgvi.0
blob: 6383d541bff96d4b9056298316a8401a7699fa17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 <zuntum@netbsd.org>.

NetBSD 3.0_STABLE                 Aug 1, 2006                NetBSD 3.0_STABLE