Files
oak-editor/debian/gitfromlog.sh
T
2019-02-15 20:45:54 -08:00

3 lines
131 B
Bash

# A simple script to extract the Git hash from an auto-generated debian/changelog
grep -Po '(?<=-)(([a-z0-9])\w+)(?=\+)' -m 1 $1