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


7. 1
   c*& gets the element-checksums intersection

 

logo

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 partition stack

tsetop  asetoid  2**  commu        ins:H_H_H  ous:H_H_AH

●  Operator c*& gets the element-checksums intersection

Use the operator c& or its equivalent c*& to get the elements intersection of datasets based on their checksums.

 

c*& EXAMPLE
In this example we will compare the files between two directories based on their checksums. File with the different names but with same checksums will be revealed. The checksum-intersection operation will reveal these files with the same content even if they are located in different directories or have different names.

 

c*& OPERATION

aspl WS1
    (start ASPL loading the sample workspace WS1 )

①  aspl> c& a1 a2
    (show the intersection between the datasets in a1 and a2 based on their element checksums)

The c& is the same as c*&

②  aspl> c*& a1 a2
    (show the intersection between the datasets in a1 and a2 based on their element checksums)

③  aspl> c&`mtm~ a1 a2
    (show the intersection between the datasets in a1 and a2 based on their element checksums whose mtimes are different)

 

● Tickable Predicates for c*&

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

       a yellow note
c&`_  gets the element-checksums intersection 
c&`c=  gets the element-checksums intersection such that they have the same checksum 
c&`c~  gets the element-checksums intersection such that they have different checksums 
c&`c~~  gets the element-checksums intersection such that they have all over different checksums 
c&`h=  gets the element-checksums intersection such that they have the same entropy 
c&`h~  gets the element-checksums intersection such that they have different entropies 
c&`h~~  gets the element-checksums intersection such that they have all over different entropies 
c&`mtm=  gets the element-checksums intersection such that they have the same make time 
c&`mtm~  gets the element-checksums intersection such that they have different make times 
c&`mtm~~  gets the element-checksums intersection such that they have all over different make times 
c&`mtm<  gets the element-checksums intersection such that they have a prior make time 
c&`mtm<=  gets the element-checksums intersection such that they have prior or same make time 
c&`mtm>  gets the element-checksums intersection such that they have more recent make time 
c&`mtm>=  gets the element-checksums intersection such that they have more recent or same make time 
c&`ks=  gets the element-checksums intersection such that they have the same ksum 
c&`ks~  gets the element-checksums intersection such that they have different ksums 
c&`ks~~  gets the element-checksums intersection such that they have all over different ksums 
(C)2024 ASPL Inc.