Add pkg_summary2leaves.1

This commit is contained in:
Aleksey Cheusov 2011-01-02 21:37:42 +00:00 committed by Thomas Klausner
parent 85ad920165
commit 70b2792286
3 changed files with 56 additions and 2 deletions

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.30 2010/12/11 23:36:05 cheusov Exp $
@comment $NetBSD: PLIST,v 1.31 2011/01/02 21:37:42 cheusov Exp $
bin/cvs_checksum
bin/pkg_assignments2pkgpath
bin/pkg_bin_summary
@ -39,6 +39,7 @@ man/man1/pkg_src_summary.1
man/man1/pkg_subgraph_deps.1
man/man1/pkg_summary2build_graph.1
man/man1/pkg_summary2deps.1
man/man1/pkg_summary2leaves.1
man/man1/pkg_summary4view.1
man/man1/pkg_uniq_summary.1
man/man1/pkg_update_src_summary.1

View file

@ -50,7 +50,7 @@ MAN += pkg_uniq_summary.1 # pkg_summary2bb_pkgs.1
MAN += pkg_cleanup_distdir.1 pkg_summary2build_graph.1
MAN += pkg_summary2deps.1 pkg_lint_summary.1
MAN += pkg_subgraph_deps.1 pkg_bin_summary.1
MAN += pkg_digger.1 # pkg_digger_backend.1 pkg_summary2leaves.1
MAN += pkg_digger.1 pkg_summary2leaves.1 # pkg_digger_backend.1
FILES = README NEWS TODO
FILES += pkg_grep_summary.awk pkg_src_summary.mk psu_funcs.awk

View file

@ -0,0 +1,53 @@
.\" $NetBSD: pkg_summary2leaves.1,v 1.1 2011/01/02 21:37:42 cheusov Exp $
.\"
.\" Copyright (c) 2010 by Aleksey Cheusov (vle@gmx.net)
.\" Absolutely no warranty.
.\"
.\" ------------------------------------------------------------------
.de VB \" Verbatim Begin
.ft CW
.nf
.ne \\$1
..
.de VE \" Verbatim End
.ft R
.fi
..
.\" ------------------------------------------------------------------
.TH PKG_SUMMARY2LEAVES 1 "Jan 2, 2011" "" ""
.SH NAME
.B pkg_summary2leaves
output leaf packages
.SH SYNOPSIS
.BI pkg_summary2leaves " [OPTIONS] file [files...]"
.SH DESCRIPTION
.B pkg_summary2leaves
takes package summaries on input
and outputs summaries for leaf packages.
.SH OPTIONS
.TP
.B "-h"
Display help message.
.TP
.B "-r"
Select leaf packages recursively, implies -a.
.TP
.B "-a"
Output automatically installed leaves only,
a field 'automatic' is expected on input.
.TP
.B "-p"
Output PKGPATHs instead of summaries.
.TP
.B "-v"
Invert the sense of match.
.SH EXAMPLES
.VB
pkg_bin_summary -f PKGPATH,automatic >summaries.txt; \\
pkg_summary2leaves summaries.txt
.VE
.SH SEE ALSO
.BR pkg_summary-utils(7) ,
.BR pkg_summary(5) ,
.SH AUTHOR
Aleksey Cheusov <vle@gmx.net>