slackpkg/files/cutpkg.awk
Dave Woodfall 844b3a5424 Avoid matching txz/tgz etc extension when blacklisting.
Make blacklist file a full package name regex.
Replace redundant 'print $0 } else { print $0' in cutpkg.awk.
Fix formatting on 'blacklist or ignore' message.
2021-03-06 08:01:53 +00:00

6 lines
46 B
Awk

OFS="-" {
if ( NF > 3 ) {
NF=NF-3
}
}
1