This commit is contained in:
itsmattkc
2019-02-15 20:45:54 -08:00
parent c477e0dd80
commit eb792d8cd6
3 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
# A simple script to extract the Git hash from an auto-generated debian/changelog
grep -Po '(?<=-)(([a-z0-9])\w+)(?=\+)' $1
grep -Po '(?<=-)(([a-z0-9])\w+)(?=\+)' -m 1 $1