OSSP CVS Repository

ossp - Check-in [4328]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4328
Date: 2004-Jan-14 17:00:35 (local)
2004-Jan-14 16:00:35 (UTC)
User:rse
Branch:
Comment: Add decoding examples to uuid(1) manual page.
Tickets:
Inspections:
Files:
ossp-pkg/uuid/ChangeLog      1.9 -> 1.10     6 inserted, 1 deleted
ossp-pkg/uuid/uuid_cli.pod      1.6 -> 1.7     28 inserted, 5 deleted

ossp-pkg/uuid/ChangeLog 1.9 -> 1.10

--- ChangeLog    2004/01/13 19:48:01     1.9
+++ ChangeLog    2004/01/14 16:00:35     1.10
@@ -11,7 +11,12 @@
   This is a list of all changes to OSSP uuid.
   For a more brief summary please have a look at the NEWS file.
 
-  Changes between 0.9.0 and 0.9.1 (11-Jan-2004 to xx-Jan-2004)
+  Changes between 0.9.1 and 0.9.2 (13-Jan-2004 to xx-Jan-2004)
+
+   o Add decoding examples to uuid(1) manual page.
+     [Ralf S. Engelschall]
+
+  Changes between 0.9.0 and 0.9.1 (11-Jan-2004 to 13-Jan-2004)
 
    o Make "md5_init" and "mac_address" symbols namespace clean
      by adding correct embedding support via "uuid_" prefix.


ossp-pkg/uuid/uuid_cli.pod 1.6 -> 1.7

--- uuid_cli.pod 2004/01/13 19:43:15     1.6
+++ uuid_cli.pod 2004/01/14 16:00:35     1.7
@@ -123,18 +123,41 @@
 
 =head1 EXAMPLES
 
- # generate DCE 1.1 variant UUID of version 1 (time and node based)
+ # generate DCE 1.1 v1 UUID (time and node based)
  $ uuid -v1
  1430fcde-43a9-11d8-8000-0090272ff725
 
- # generate DCE 1.1 variant UUID of version 3 (name based)
+ # decode and dump DCE 1.1 v1 UUID (time and node based)
+ $ uuid -d 1430fcde-43a9-11d8-8000-0090272ff725
+ UUID:    1430fcde-43a9-11d8-8000-0090272ff725
+ variant: DCE 1.1, ISO/IEC 11578:1996
+ version: 1 (time and node based)
+ content: time:  2004-01-10 20:10:47.471843.0 UTC
+          clock: 0 (usually random)
+          node:  00:90:27:2f:f7:25 (real unicast)
+
+ # generate DCE 1.1 v3 UUID (name based)
  $ uuid -v3 URL http://www.ossp.org/
  02d9e6d5-9467-382e-8f9b-9300a64ac3cd
- 
- # generate DCE 1.1 variant UUID of version 4 (random data based)
- $ ./uuid -v4                         
+
+ # decode and dump DCE 1.1 v3 UUID (name based)
+ $ uuid -d 02d9e6d5-9467-382e-8f9b-9300a64ac3cd
+ UUID:    02d9e6d5-9467-382e-8f9b-9300a64ac3cd
+ variant: DCE 1.1, ISO/IEC 11578:1996
+ version: 3 (name based)
+ content: [not decipherable]
+
+ # generate DCE 1.1 v4 UUID 4 (random data based)
+ $ uuid -v4                         
  eb424026-6f54-4ef8-a4d0-bb658a1fc6cf
 
+ # decode and dump DCE 1.1 v4 UUID 4 (random data based)
+ $ uuid -d eb424026-6f54-4ef8-a4d0-bb658a1fc6cf
+ UUID:    eb424026-6f54-4ef8-a4d0-bb658a1fc6cf
+ variant: DCE 1.1, ISO/IEC 11578:1996
+ version: 4 (random data based)
+ content: [no semantics]
+
 =head1 SEE ALSO
 
 uuid(3).

CVSTrac 2.0.1