busybox/debian/control-extract

3 lines
145 B
Plaintext
Raw Normal View History

2004-01-01 05:53:01 +05:30
#!/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: ,,"