summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-12-26 11:12:59 +0000
committerwiz <wiz@pkgsrc.org>2002-12-26 11:12:59 +0000
commit5726248e2148690eee2a329b3bca7aa49832134d (patch)
tree5b5ca9ab1a2aa5b1a8eb1b9e1b59f6448ae985d0
parent03d7c8c303075d8841dd30b4d0c1a6609b7c75e4 (diff)
downloadpkgsrc-5726248e2148690eee2a329b3bca7aa49832134d.tar.gz
Drop a traling space, add abbreviation dots to an abbreviation, and replace
"\>" with (better convertible) "\*[Gt]".
-rw-r--r--pkgtools/pkgdepgraph/files/pkgdepgraph.124
1 files changed, 12 insertions, 12 deletions
diff --git a/pkgtools/pkgdepgraph/files/pkgdepgraph.1 b/pkgtools/pkgdepgraph/files/pkgdepgraph.1
index 854fdff47db..b8c9ee3a21f 100644
--- a/pkgtools/pkgdepgraph/files/pkgdepgraph.1
+++ b/pkgtools/pkgdepgraph/files/pkgdepgraph.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkgdepgraph.1,v 1.2 2002/12/26 05:40:48 atatat Exp $
+.\" $NetBSD: pkgdepgraph.1,v 1.3 2002/12/26 11:12:59 wiz Exp $
.\"
.\" Copyright (c) 2002 by Andrew Brown <atatat@netbsd.org>
.\" Absolutely no warranty.
@@ -82,14 +82,14 @@ environment variable, if it is set, or to
.Pa @PKG_DBDIR@ .
.It Fl g
Add package subgraph groupings.
-This places all packages with a common prefix (eg
+This places all packages with a common prefix (e.g.,
.Dq p5
or
.Dq gimp )
in a subgraph with a line around it so you can visually associate
packages.
.It Fl l
-Adds package
+Adds package
.Dq location
information to the labels on the nodes.
This is the path to the package under the local pkgsrc tree.
@@ -118,18 +118,18 @@ $ pkgdepgraph | dotty -
To generate colored graph output for later use, and a postscript image
of it:
.Bd -literal -offset indent
-$ lintpkgsrc -i \> pkgdepgraph.in
-$ audit-packages \>\> pkgdepgraph.in
-$ pkgdepgraph -clv pkgdepgraph.in \> pkgdepgraph.dot
-$ dot -Tps pkgdepgraph.dot \> pkgdepgraph.ps
+$ lintpkgsrc -i \*[Gt] pkgdepgraph.in
+$ audit-packages \*[Gt]\*[Gt] pkgdepgraph.in
+$ pkgdepgraph -clv pkgdepgraph.in \*[Gt] pkgdepgraph.dot
+$ dot -Tps pkgdepgraph.dot \*[Gt] pkgdepgraph.ps
.Ed
.Pp
To subsequently generate a graph of just the out-of-date nodes as a
gif:
.Bd -literal -offset indent
$ grep -v green pkgdepgraph.dot | \\
- sed 's/"packages"/"out of date packages"/' \> out-of-date.dot
-$ dot -Tgif out-of-date.dot \> out-of-date.gif
+ sed 's/"packages"/"out of date packages"/' \*[Gt] out-of-date.dot
+$ dot -Tgif out-of-date.dot \*[Gt] out-of-date.gif
.Ed
.Pp
To make a list of packages that need to be removed in order to bring
@@ -137,17 +137,17 @@ all packages up to date:
.Bd -literal -offset indent
$ grep label out-of-date.dot | \\
sort -t\\# +1n | \\
- sed 's/\\(.\\)".*/\\1/;s/"//' \> delete_order
+ sed 's/\\(.\\)".*/\\1/;s/"//' \*[Gt] delete_order
$ grep LEAF out-of-date.dot | \\
sort -t\\# +1nr | \\
- sed 's/.*label="//;s/\\\\.*//' \> rebuild_order
+ sed 's/.*label="//;s/\\\\.*//' \*[Gt] rebuild_order
.Ed
.Pp
To see the current state of the installed packages after some packages
have been deleted, and some (but perhaps not all) have been
reinstalled:
.Bd -literal -offset indent
-$ pkgdepgraph out-of-date.dot | dot -Tps \> current.ps
+$ pkgdepgraph out-of-date.dot | dot -Tps \*[Gt] current.ps
.Ed
.Sh SEE ALSO
.Xr dot 1 ,