Check-in Number:
|
119 | |
Date: |
2000-Jul-28 16:27:50 (local)
2000-Jul-28 14:27:50 (UTC) |
User: | rse |
Branch: | |
Comment: |
*** empty log message *** |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/shtool/ChangeLog 1.131 -> 1.132
--- ChangeLog 2000/07/06 13:29:11 1.131
+++ ChangeLog 2000/07/29 14:27:50 1.132
@@ -11,6 +11,13 @@
Changes between 1.5.0 and 1.5.1 (01-Jul-2000 to 06-Jul-2000):
+ *) Fixed hex value generation `shtool version': the `%X' printf
+ format is not understood by all AWK flavors. So use the more
+ portable `%x' instead and pass the result trough a `tr' filter.
+ [Ralf S. Engelschall, Joe Meadows <joe.meadows@boeing.com>,
+ Todd R. Stroup <tstroup@tomahawk.dartas.com>, Keith Minkler
+ <kminkler@jabber.com>]
+
*) Add Python support to `shtool version'.
[Benjamin Saller <case@appliedtheory.com>]
|
|
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); }'`
|
|