ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM
8. 13c&& gets the binned element-checksums intersection
c&& a1 a2 [a3 .. aN] where a1 a2 [a3 .. aN] are set variables
c&&`mtm~ a1 a2 [a3 .. aN]
c&&/mtm~ a1 a2 [a3 .. aN]
c&&
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 2** notcommu ins:H_H_AH ous:H_H_AH
Use the operator c&& to get the intersection of elements in binned set variables by grouping them according to their checksums.
c&& EXAMPLEIn this example we will compare the elements (or files) checksums in three directories represented by binned data sets in the sample workspace WS1. File with the different names but with same checksums will be revealed. The intersection operation of the checksums will show these files that have the same checksum regardless of their names.
c&& OPERATION# aspl WS1
(start ASPL loading the sample workspace WS1 )
① aspl>
av
(print the augmented symbol table)
② aspl>
c&& aa1 aa2
(show the union of the checksums in the binned set variables aa1 and aa2 )
③ aspl>
c&&`mtm= aa1 aa2
(show the intersection of the checksums in the binned set variables aa1 and aa2 where mtimes are equal)
④ aspl>
c&&`mtm~ aa1 aa2
(show the intersection of the checksums in the binned set variables aa1 and aa2 where mtimes are unequal)
● Tickable Predicates for c&&
This c&& is tickable with predicates that are shown in the following table:
a yellow note
c&&`_ gets the binned element-checksums intersection for the plularity of matching relations c&&`c= gets the binned element-checksums intersection for the plularity of matching relations such that they have the same checksum c&&`h= gets the binned element-checksums intersection for the plularity of matching relations such that they have the same entropy c&&`h~ gets the binned element-checksums intersection for the plularity of matching relations such that they have different entropies c&&`h~~ gets the binned element-checksums intersection for the plularity of matching relations such that they have all over different entropies c&&`mtm= gets the binned element-checksums intersection for the plularity of matching relations such that they have the same make time c&&`mtm~ gets the binned element-checksums intersection for the plularity of matching relations such that they have different make times c&&`mtm~~ gets the binned element-checksums intersection for the plularity of matching relations such that they have all over different make times c&&`ks= gets the binned element-checksums intersection for the plularity of matching relations such that they have the same ksum c&&`ks~ gets the binned element-checksums intersection for the plularity of matching relations such that they have different ksums c&&`ks~~ gets the binned element-checksums intersection for the plularity of matching relations such that they have all over different ksums