update repository
[cmdllinux.git] / bash_n_examples / awk / cutpkg.awk
blob7c67c26a3bb4a830a59366db99911e8147253a91
2 BEGIN {
3 FS="-"
7 print "*" $0 "*"
8 print FS ":" NF
9 print "\"" $NF "\""
10 if ( NF > 3 ) {
11 NF=NF-3
12 print $0
13 } else {
14 print $0