mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
29 lines
424 B
Awk
29 lines
424 B
Awk
|
BEGIN {
|
||
|
starting = 1
|
||
|
}
|
||
|
|
||
|
/^\|\|[[:blank:]]+Package:[[:blank:]]+.*-[[:alnum:]_]+-[[:alnum:]_.]+\.t[blxg]z$/ {
|
||
|
if( starting == 1 )
|
||
|
starting = 0
|
||
|
else
|
||
|
printf( "\n" )
|
||
|
printf( "%s ", $3 )
|
||
|
show = 1
|
||
|
}
|
||
|
|
||
|
/^\|\|[[:blank:]]+Package:[[:blank:]]+/ && !/t[blxg]z/ {
|
||
|
show = 0
|
||
|
}
|
||
|
|
||
|
/^[-bcdlps][-r][-w][-xsS][-r][-w][-xsS][-r][-w][-xtT][[:space:]]/ {
|
||
|
if( show == 1 ) {
|
||
|
printf( "%s ", $6 )
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
END {
|
||
|
printf( "\n" )
|
||
|
}
|