]> git.sev.monster Git - abchr.git/blame - apkgvers
apkgvers: replace grep/sed with awk
[abchr.git] / apkgvers
CommitLineData
9efefcc4 1#!/bin/sh
2if ! which column >/dev/null 2>&1; then echo need column command >&2; exit 1; fi
c1b56b5b 3awk 'match($0, /pkgver="?([^" ;]*)/, m) {gsub("/APKBUILD$", "", FILENAME); print FILENAME, m[1]}' */APKBUILD | sort | column -tNname,version -R1
This page took 0.043786 seconds and 4 git commands to generate.