Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
98e4eab0c632f7ed8d823bf587df40abeb68ea9d
/
.
/
debian
/
control-extract
blob: ed65f29861c934f5e70ea0f3883e5d5cf2b9bdd7 [
file
] [
log
] [
blame
]
#!/bin/sh
awk
"BEGIN { i = 0; } { if (/^Package: $2/) i = 1; if (/^\s*\$/) i = 0; if (/$1:/ && i) print }"
<
debian
/
control
|
sed
-
e
"s,^$1: ,,"