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


5. 7
   d*\ gets the shallow subgroups difference

 

logo

d*\ a1 a2 [a3 .. aN]       where a1 a2 [a3 .. aN] are set variables

d*\`mtm~ a1 a2 [a3 .. aN]

d*\/mtm~ a1 a2 [a3 .. aN]

d*\

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

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

●  Operator d*\ gets the shallow subgroups difference

Use the operator d*\ to get the difference of subgroups in datasets by shallow matching their names. Shallow matching is a match between two strings based on some intermediate function that takes as input both strings and returns true or false based on the function internal processing. ASPL provides shallow matching through an internal module that the user can edit and make changes to it. The shallow module functions are selectable, the ASPL command shallowed displays the current shallow function being used by ASPL, and the command ~shallowed edits the shallowed module.

 

d*\ EXAMPLE
In this example we will do a shallow set operation on Java Jar archives to locate the Java transaction directory branches. We will load the sample JMXJAR workspace then we will issue shallow set operations on the datasets. We will locate the subdirectories in JMX Jar files where the word transaction occurs. In particular we will match the subgroups that contain the word "transac" and then we will get the shallow difference of these subgroups (subdirectories) found in the datasets (representing the JMX Jar files).

 

d*\ OPERATION

aspl JMXJAR
    (start ASPL loading JMXJAR)

①  aspl> v
    (display the variables.)

②  aspl> shallowed
    (display the shallow processors table.)

③  aspl> setshallowed prcrelem
    (set the shallow processor to prcrelem.)

④  aspl> setprcr transac
    (set the shallow preprocessor to transac.)

⑤  aspl> shallowed
    (display the shallow processors table. notice the change, now the processor is prcrelem, and its preprocessor is transac.)

⑥  aspl> d*\ tx1 tx2
    (do a shallow set difference on the subgroups (or subdirectories) between tx1 and tx2)

⑦  aspl> d*\ tx1 tx2 tx3
    (do a shallow set difference on the subgroups (or subdirectories) between tx1 tx2 and tx3)

 

● Tickable Predicates for d*\

This d*\ is tickable with predicates that are shown in the following table:

       a yellow note
d*\`_  gets the shallow subgroups difference with one to many matching regex relations 
d*\`c=  gets the shallow subgroups difference with one to many matching regex relations such that they have the same checksum 
d*\`c~  gets the shallow subgroups difference with one to many matching regex relations such that they have different checksums 
d*\`c~~  gets the shallow subgroups difference with one to many matching regex relations such that they have all over different checksums 
d*\`h=  gets the shallow subgroups difference with one to many matching regex relations such that they have the same entropy 
d*\`h~  gets the shallow subgroups difference with one to many matching regex relations such that they have different entropies 
d*\`h~~  gets the shallow subgroups difference with one to many matching regex relations such that they have all over different entropies 
d*\`mtm=  gets the shallow subgroups difference with one to many matching regex relations such that they have the same make time 
d*\`mtm~  gets the shallow subgroups difference with one to many matching regex relations such that they have different make times 
d*\`mtm~~  gets the shallow subgroups difference with one to many matching regex relations such that they have all over different make times 
d*\`ks=  gets the shallow subgroups difference with one to many matching regex relations such that they have the same ksum 
d*\`ks~  gets the shallow subgroups difference with one to many matching regex relations such that they have different ksums 
(C)2024 ASPL Inc.