ASPL Manual v 1.00
© 2024 by SetSphere.COM
4. 8dU gets the subgroups union
dU a1 [a2 .. aN] where a1 [a2 .. aN] are set variables
dU`mtm~ a1 [a2 .. aN]
dU/mtm~ a1 [a2 .. aN]
dU
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 1** commu ins:H_H_H ous:H_H_H
Use the operator dU operator to get the union of the subgroups between set variables.
dU EXAMPLE1In the following example we want to display the subdirectories contained in each directory. We start ASPL loading the sample workspace WS1 and we issue the operator dU to get the union of the a1 a2 a3 a4 a5 to display their subgroups union.
dU OPERATION1# aspl WS1
(start ASPL loading the sample workspace WS1)
① aspl>
v
(print the symbol table showing the set variables)
② aspl>
dU a1 a2
(get the union of subgroups of a1 a2)
③ aspl>
dU a1 a2 a3 a4 a5
(get the union of subgroups of a1 a2 a3 a4 a5)
dU EXAMPLE2In the following example we want to compare JMX Jar files by displaying the subdirectories contained in each JMX distribution. We start ASPL loading the sample workspace JMXJAR and we issue the operator dU to get the union of the jmx1 jmx2 jmx3 to display their subgroups union.
dU OPERATION2# aspl JMXJAR
(start ASPL loading the sample workspace JMXJAR)
① aspl>
v
(print the symbol table showing the set variables)
② aspl>
dU jmx1 jmx2
(get the union of subgroups of jmx1 jmx2)
③ aspl>
dU jmx1 jmx2 jmx3
(get the union of subgroups of jmx1 jmx2 jmx3)
● Tickable Predicates for dU
This dU is tickable with predicates that are shown in the following table:
a yellow note
dU`_ gets the subgroups union dU`mtm= gets the subgroups union such that they have the same make time dU`mtm~ gets the subgroups union such that they have different make times dU`mtm~~ gets the subgroups union such that they have all over different make times dU`ks= gets the subgroups union such that they have the same ksum dU`ks~ gets the subgroups union such that they have different ksums dU`ks~~ gets the subgroups union such that they have all over different ksums