PreviousNext

uuid compare

Compares two UUIDs. The syntax is:

uuid compare uuid uuid

Description
The uuid compare operation compares two UUIDs, returning 1 if they are equal, or 0 if they are not. Because the uuid compare command handles the comparison of UUIDs in current and previous DCE formats, you should use it rather than string compare.

Privileges Required
No special privileges are needed to use the uuid compare command.

Examples

dcecp> uuid compare 03bb2688-943e-11cd-8bfd-0000c08adf56\
> 069d9fb6-943e-11cd-a35c-0000c08adf56
0
dcecp>