ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM
4. 14g\ gets the subgroups and the elements difference
g\ a1 a2 [a3 .. aN] where a1 a2 [a3 .. aN] are set variables
g\`mtm~ a1 a2 [a3 .. aN]
g\/mtm~ a1 a2 [a3 .. aN]
g\
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 stack
setop setoid 2* notcommu ins:H_H_H ous:H_H_H
Use the operator g\ to get the group difference between datasets represented by set variables.
g\ EXAMPLEIn the following example we want to visualize the difference between the subdirectories and files found in directories on the UNIX system. We start ASPL loading the sample workspace WS1 and issue the command g\ on the set variables.
g\ OPERATION# aspl WS1
start ASPL loading the sample workspace WS1
① aspl>
v
(print the symbol table showing the set variables)
② aspl>
g\ a1 a2
(get the group difference between a1 a2)
③ aspl>
g\`c= a1 a2
(get the group difference between a1 a2 where the checksums are equal)
④ aspl>
g\`c~ a1 a2
(get the group difference between a1 a2 where the checksums are unequal)
⑤ aspl>
g\ a1 a2 a3
(get the group difference between a1 a2 a3)
⑥ aspl>
g\ a3 a4 a5
(get the group difference between a3 a4 a5)
⑦ aspl>
g\`c~ a3 a4 a5
(get the group difference between a3 a4 a5 where the checksums are unequal)
⑧ aspl>
g\`c= a3 a4 a5
(get the group difference between a3 a4 a5 where the checksums are equal)
● Tickable Predicates for g\
This g\ is tickable with predicates that are shown in the following table:
a yellow note
g\`_ gets the subgroups and the elements difference g\`c= gets the subgroups and the elements difference such that they have the same checksum g\`c~ gets the subgroups and the elements difference such that they have different checksums g\`c~~ gets the subgroups and the elements difference such that they have all over different checksums g\`h= gets the subgroups and the elements difference such that they have the same entropy g\`h~ gets the subgroups and the elements difference such that they have different entropies g\`h~~ gets the subgroups and the elements difference such that they have all over different entropies g\`mtm= gets the subgroups and the elements difference such that they have the same make time g\`mtm~ gets the subgroups and the elements difference such that they have different make times g\`mtm~~ gets the subgroups and the elements difference such that they have all over different make times g\`mtm< gets the subgroups and the elements difference such that they have a prior make time g\`mtm<= gets the subgroups and the elements difference such that they have prior or same make time g\`mtm> gets the subgroups and the elements difference such that they have more recent make time g\`mtm>= gets the subgroups and the elements difference such that they have more recent or same make time g\`ks= gets the subgroups and the elements difference such that they have the same ksum g\`ks~ gets the subgroups and the elements difference such that they have different ksums g\`ks~~ gets the subgroups and the elements difference such that they have all over different ksums