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


7. 4
   c*\ gets the element-checksums difference

 

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**  notcommu        ins:H_H_H  ous:H_H_AH

●  Operator c*\ gets the element-checksums difference

Use the operator c\ or its equivalent c*\ to get the difference in 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 difference of checksums display only these files with unequal checksums.

 

c*\ OPERATION

aspl WS1
    (start ASPL loading the sample workspace WS1 )

①  aspl> c\ a1 a2
    (show the different checksums between the datasets in a1 and a2)

The c\ is the same as c*\

②  aspl> c*\ a1 a2
    (show the different checksums between the datasets in a1 and a2)

Notice that the `mtm~ is reverted to be as 'equal' since it is used in the context of the difference

③  aspl> c\`mtm~ a1 a2
    (show the different checksums between the datasets in a1 and a2 whose mtimes are the same)

Notice that the `mtm= is reverted to be as 'unequal' since it is used in the context of the difference

④  aspl> c\`mtm= a1 a2
    (show the different checksums between the datasets in a1 and a2 whose mtimes are the 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 difference 
c\`c=  gets the element-checksums difference such that they have the same checksum 
c\`c~  gets the element-checksums difference such that they have different checksums 
c\`c~~  gets the element-checksums difference such that they have all over different checksums 
c\`h=  gets the element-checksums difference such that they have the same entropy 
c\`h~  gets the element-checksums difference such that they have different entropies 
c\`h~~  gets the element-checksums difference such that they have all over different entropies 
c\`mtm=  gets the element-checksums difference such that they have the same make time 
c\`mtm~  gets the element-checksums difference such that they have different make times 
c\`mtm~~  gets the element-checksums difference such that they have all over different make times 
c\`ks=  gets the element-checksums difference such that they have the same ksum 
c\`ks~  gets the element-checksums difference such that they have different ksums 
c\`ks~~  gets the element-checksums difference such that they have all over different ksums 
(C)2024 ASPL Inc.