mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
3 lines
145 B
Bash
3 lines
145 B
Bash
#!/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: ,,"
|