ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM


8. 14
   cUU gets the binned element-checksums union

 

logo

cUU a1 [a2 .. aN]       where a1 [a2 .. aN] are set variables

cUU`mtm~ a1 [a2 .. aN]

cUU/mtm~ a1 [a2 .. aN]

cUU

When specified by itself then the operation is performed on the object on top of the stack and the one that is one below it, then the result is pushed on the augmented stack

asetop  asetoid  1**  commu        ins:H_H_AH  ous:H_H_AH

●  Operator cUU gets the binned element-checksums union

Use the operator cUU to get the union of elements in set variables by grouping them according to their checksums.

 

cUU EXAMPLE
In this example we will compare the files between two directories based on their checksums. File with different names but with same checksums will be revealed. The union operation of the checksums display all checksums and their corresponding file names.

 

cUU OPERATION

aspl WS1
    (start ASPL loading the sample workspace WS1)

①  aspl> av
    (print the augmented symbol table)

②  aspl> cUU aa1 aa2
    (show the union of the checksums in the binned set variables aa1 and aa2)

③  aspl> cUU`mtm= aa1 aa2
    (show the union of the checksums in the binned set variables aa1 and aa2 where mtimes are equal)

④  aspl> cUU`mtm~ aa1 aa2
    (show the union of the checksums in the binned set variables aa1 and aa2 where mtimes are unequal)

 

● Tickable Predicates for cUU

This cUU is tickable with predicates that are shown in the following table:

       a yellow note
cUU`_  gets the binned element-checksums union for the plularity of matching relations 
cUU`c=  gets the binned element-checksums union for the plularity of matching relations such that they have the same checksum 
cUU`h=  gets the binned element-checksums union for the plularity of matching relations such that they have the same entropy 
cUU`h~  gets the binned element-checksums union for the plularity of matching relations such that they have different entropies 
cUU`h~~  gets the binned element-checksums union for the plularity of matching relations such that they have all over different entropies 
cUU`mtm=  gets the binned element-checksums union for the plularity of matching relations such that they have the same make time 
cUU`mtm~  gets the binned element-checksums union for the plularity of matching relations such that they have different make times 
cUU`mtm~~  gets the binned element-checksums union for the plularity of matching relations such that they have all over different make times 
(C)2024 ASPL Inc.