OSSP CVS Repository

ossp - Difference in ossp-pkg/shtool/sh.version versions 1.26 and 1.27
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/shtool/sh.version 1.26 -> 1.27

--- sh.version   2000/07/06 13:31:31     1.26
+++ sh.version   2000/07/29 14:27:50     1.27
@@ -113,7 +113,8 @@
     s     ) typnum=15; levnum=255  ;; # snapshots are special
 esac
 hex=`echo "$ver:$rev:$typnum:$levnum" |\
-     awk -F: '{ printf("0x%X%02X%1X%02X", $1, $2, $3, $4); }'`
+     awk -F: '{ printf("0x%x%02x%1x%02x", $1, $2, $3, $4); }' |\
+     tr 'abcdef' 'ABCDEF'`
 ltv=`echo "$ver:$rev:$typnum:$levnum" |\
      awk -F: '{ printf("%d:%d", $1*10 + $2, $3*10 + $4); }'`
 

CVSTrac 2.0.1