blob: 6021813b23c3c7ae50e25fd0a927d13fb1b0eff7 (
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
|
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.
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 1.6 May 28, 2003 NetBSD 1.6
|