diff options
Diffstat (limited to 'files/cutpkg.awk')
-rw-r--r-- | files/cutpkg.awk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/files/cutpkg.awk b/files/cutpkg.awk new file mode 100644 index 0000000..62aaad7 --- /dev/null +++ b/files/cutpkg.awk @@ -0,0 +1,8 @@ +OFS="-" { + if ( NF > 3 ) { + NF=NF-3 + print $0 + } else { + print $0 + } +} |