Man page - botch-graph2text(1)
Packages contas this manual
- botch-graph-tred(1)
- botch-buildgraph2packages(1)
- botch-bin2src(1)
- botch-buildcheck-more-problems(1)
- botch-profile-build-fvs(1)
- botch-collapse-srcgraph(1)
- botch-distcheck-more-problems(1)
- botch-packages-difference(1)
- botch-buildgraph2srcgraph(1)
- botch-optuniv(1)
- botch-ma-diff(1)
- botch-check-ma-same-versions(1)
- botch-packages-union(1)
- botch-graph-neighborhood(1)
- botch-fix-cross-problems(1)
- botch-graph-sources(1)
- botch-wanna-build-sortblockers(1)
- botch-graph-info(1)
- botch-graph-difference(1)
- botch-graph-sinks(1)
- botch-y-u-no-bootstrap(1)
- botch-extract-scc(1)
- botch-checkfas(1)
- botch-convert-arch(1)
- botch-partial-order(1)
- botch-droppable-diff(1)
- botch-remove-virtual-disjunctions(1)
- botch-graphml2dot(1)
- botch-transition(1)
- botch-calcportsmetric(1)
- botch-native(1)
- botch-create-graph(1)
- botch-annotate-strong(1)
- botch-latest-version(1)
- botch-cross(1)
- botch-download-pkgsrc(1)
- botch-graph2text(1)
- botch-graph-descendants(1)
- botch-multiarch-interpreter-problem(1)
- botch-packages-intersection(1)
- botch-graph-shortest-path(1)
- botch-dose2html(1)
- botch-droppable-union(1)
- botch-build-fixpoint(1)
- botch-packages-diff(1)
- botch-filter-src-builds-for(1)
- botch-calculate-fas(1)
- botch-apply-ma-diff(1)
- botch-build-order-from-zero(1)
- botch-y-u-b-d-transitive-essential(1)
- botch-add-arch(1)
- botch-print-stats(1)
- botch-graph-ancestors(1)
- botch-fasofstats(1)
- botch-src2bin(1)
- botch-find-fvs(1)
- botch(1)
- botch-clean-repository(1)
- botch-stat-html(1)
apt-get install botch
Manual
| BOTCH-GRAPH2TEXT(1) | botch tools | BOTCH-GRAPH2TEXT(1) |
NAME
botch-graph2text - for each vertex in a graph print a formatted line on standard output
SYNOPSIS
DESCRIPTION
Given a formatstring of the form "{attr1} {attr2}...", print a line with this format for every vertex in the graph, replacing "{attr}" placeholders with the value of the attribute "attr" for that vertex. If no attribute with name "attr" was found, then the placeholder "{XXX}" remains in the output string. To write a literal opening or closing curly brace, type them twice, respectively. The special placeholder "{__ID__}" is replaced with the vertex identifier.
If the positional arguments is omitted, then read GraphML or dot from standard input. Passing a '-' as either argument, explicitly specifies to read the input from standard input. The input graph type will be determined automatically.
OPTIONS
- -h, --help
- Display help.
- --vertex=VERT
- This option picks the set of vertices that will be output. The VERT
argument is a key/value pair (separated by a colon) of a graph attribute
and its value. By default (without this option), all vertices of the graph
are considered.
The special key "__ID__" allows one to select the unique vertex identifier.
This option can be specified more than once. The final set of vertices is chosen such that all vertices match all key/value pairs. Multiple --vertex options thus form a logical conjunction (they are AND-ed together).
- -v, --verbose
- Be verbose.
EXAMPLE
Find all source packages that build depend on "texlive-binaries:amd64 (=2015.20150524.37493-5)".
Using package selection and reverse dependency cone computation by ceve:
dose-ceve -r "texlive-binaries:amd64 (= 2015.20150524.37493-5)" --deb-native-arch=amd64 -G pkg -T grml deb://Packages debsrc://Sources \
| botch-graph-sources - - \
| botch-graph2text - "{realpackage} (= {realversion})" --vertex type:src \
| sort
Using package selection and ancestor vertex computation by botch:
dose-ceve --deb-native-arch=amd64 -G pkg -T grml deb://Packages debsrc://Sources \
| botch-graph-ancestors - - --target realpackage:texlive-binaries:amd64 realversion:2015.20150524.37493-5 \
| botch-graph-sources - - \
| botch-graph2text - "{realpackage} (= {realversion})" --vertex type:src \
| sort
BUGS
See <http://bugs.debian.org/botch>.
SEE ALSO
Debian doc-base Manual /usr/share/doc/botch/wiki/Home.html
AUTHOR
This man page was written by Johannes Schauer. Botch is written by Johannes Schauer and Pietro Abate.
COPYRIGHT
Copyright 2012-2014 Johannes Schauer, Pietro Abate
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. A special linking exception to the GNU Lesser General Public License applies to this library, see the COPYING file for more information.
| 2025-06-14 | perl v5.40.1 |