-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpkgman-edit.8.html
78 lines (78 loc) · 2.78 KB
/
pkgman-edit.8.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
<!-- This is an automatically generated file. Do not edit.
pkgman-edit(8) manual page
See COPYING and COPYRIGHT files for corresponding information.
-->
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="mandoc.css" type="text/css" media="all"/>
<title>PKGMAN-EDIT(8)</title>
</head>
<body>
<table class="head">
<tr>
<td class="head-ltitle">PKGMAN-EDIT(8)</td>
<td class="head-vol">System Manager's Manual</td>
<td class="head-rtitle">PKGMAN-EDIT(8)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">pkgman-edit</code> — <span class="Nd">edit
the package's file</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<table class="Nm">
<tr>
<td><code class="Nm">pkgman</code></td>
<td><code class="Cm">edit</code> <var class="Ar">pkgname</var> [file]</td>
</tr>
</table>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">Edit the package <var class="Ar">file</var> from the package
source directory using the editor specified in the
<code class="Ev">EDITOR</code> environment variable. If
<var class="Ar">file</var> is not specified, then
<span class="Pa">Pkgfile</span> is used.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="ENVIRONMENT"><a class="permalink" href="#ENVIRONMENT">ENVIRONMENT</a></h1>
<p class="Pp">If the following environment variable exists it will be utilized
by <a class="Xr" href="pkgman.1.html">pkgman(1)</a>:</p>
<dl class="Bl-tag">
<dt id="EDITOR"><a class="permalink" href="#EDITOR"><code class="Ev">EDITOR</code></a></dt>
<dd>If the package's source directory has a <var class="Ar">file</var>, then
<code class="Nm">pkgman-edit</code> will try to open it using a
<code class="Ev">EDITOR</code>. If <code class="Ev">EDITOR</code> is
unset, then <code class="Nm">pkgman-edit</code> will fail.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="EXIT_STATUS"><a class="permalink" href="#EXIT_STATUS">EXIT
STATUS</a></h1>
<dl class="Bl-tag">
<dt>0</dt>
<dd>if success</dd>
<dt>255</dt>
<dd>if environment variable <code class="Ev">EDITOR</code> is unset or package
source is not found</dd>
<dt id="EDITOR~2">>0</dt>
<dd><a class="permalink" href="#EDITOR~2"><code class="Ev">EDITOR</code></a>
execution exit status</dd>
</dl>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">September 9, 2023</td>
<td class="foot-os">Zeppe-Lin</td>
</tr>
</table>
</body>
</html>