Find the highest gdb.spec patch number.
authorjkratoch <>
Thu, 22 Jul 2010 14:23:37 +0000 (14:23 +0000)
committerjkratoch <>
Thu, 22 Jul 2010 14:23:37 +0000 (14:23 +0000)
bin/gdbpatchno [new file with mode: 0755]

diff --git a/bin/gdbpatchno b/bin/gdbpatchno
new file mode 100755 (executable)
index 0000000..ceee0cb
--- /dev/null
@@ -0,0 +1,2 @@
+#! /bin/sh
+cat ~/redhat/{rhel,fedora}/gdb/*/gdb.spec|grep -i '^patch'|sort -nruk2 -t h|head