Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
b71e6024f9ac1bf2c8068a20c93af6a0be630a11
/
.
/
debian
/
control-extract
blob: ed65f29861c934f5e70ea0f3883e5d5cf2b9bdd7 [
file
] [
log
] [
blame
]
Glenn L McGrath
a43facc
2004-01-01 00:23:01 +0000
[
diff
] [
blame
]
1
#!/bin/sh
2
awk
"BEGIN { i = 0; } { if (/^Package: $2/) i = 1; if (/^\s*\$/) i = 0; if (/$1:/ && i) print }"
<
debian
/
control
|
sed
-
e
"s,^$1: ,,"