BOTCH-FILTER-SRC-BUILDS-FOR(1)
π BOTCH-FILTER-SRC-BUILDS-FOR π
okay bestie, so this is a page from the botch tools manual set (manual section 1, obviously), and it's literally just one tiny little tool that does one tiny little job and does it flawlessly. main character energy tbh π
β¨ NAME β¨
botch-filter-src-builds-for β filter a Sources file for the packages building for a certain architecture
like. that's it. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
botch-filter-src-builds-for [options] inSources.. architecture
outSources
so you give it your Sources file(s), you tell it which architecture you're obsessed with rn, and you point it at where the output should go. simple. clean. iconic. π
π« DESCRIPTION π«
bestie listen. you've got a Sources control file, right? it's got stanzas for every source package. and you're like "girl, I only care about the ones that build binary dependent packages for a certain architecture."
that's what this does. β¨
It filters a Sources control file, such that it only contains the stanzas for those source packages which build binary dependent packages for a certain architecture. no cap, that's the whole deal. everything else gets yeeted. ποΈπ
π OPTIONS π
-h,--helpβ Show help. like, it tells you how to use it. adorable of it honestly π«Ά--verboseβ Be verbose. she will talk. she will tell you things. let her cook π¬
π EXAMPLE π
ok so here's the slay scenario: find all source packages that build architecture dependent binary packages for armhf π§
botch-filter-src-builds-for Sources armhf - \
| dose-builddebcheck --successes --explain-minimal --deb-native-arch=amd64 --deb-host-arch=armhf Packages_amd64 Packages_armhf \
| sed -n 's/^\s\+success: src://p'
see that? Sources goes in, armhf is the arch we're gagged over, the - means "dump it to stdout bestie", then we pipe it straight into dose-builddebcheck with --successes --explain-minimal --deb-native-arch=amd64 --deb-host-arch=armhf Packages_amd64 Packages_armhf, and then sed -n 's/^\s\+success: src://p' rips out the pretty names at the end. a whole pipeline. a whole lewk. π₯
π BUGS π
found a bug? not me having to tell you but β see <http://bugs.debian.org/botch>. go snitch, it's fine, they wanna know π
π SEE ALSO π
Debian doc-base Manual /usr/share/doc/botch/wiki/Home.html
(go read it, iykyk πβ¨)
π AUTHOR π
This man page was written by Johannes Schauer. Botch is written by Johannes Schauer and Pietro Abate.
two legends fr fr π«Ά
π 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.
legal bestie voice: read the COPYING file. it's important. don't skip it. π
and that's the whole page!! this one shipped as part of perl v5.36.0, dated 2023-02-17, and it lives under the manual name BOTCH-FILTER-SRC-BUILDS-FOR(1). mwah, go filter some sources, you've got this π β¨
π¦ where this page comes from
- debian bookworm: botch 0.24-2 Β· LGPL-3.0-or-later WITH OCaml-linking exception
- ubuntu noble: botch 0.24-2 Β· LGPL-3.0-or-later WITH OCaml-linking exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms