( ** Go back to PARENTPAGE ../Script-progenvshellscompare-aspl.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

How to inspect and compare UNIX shell variables by gathering into groups and comparing them as elements of the groups

Set operations to compare the shell environment variables defined in one or more shells.

ASPL 1> printblock ####### COMPARING PROGRAMS ENVIRONMENT VARIABLES #######

ASPL 2> S = ggshellsenv(grp1,L,shells,/tools/env/setj.sh w130 | /tools/env/setj.sh w141 | /tools/env/setj.sh w142,onlychanged,1)
set variable S is assigned to the shells environment variables of three different shells

ASPL 3> printblock ####### MATCHING PROGRAMS ENVIRONMENT VARIABLES #######

ASPL 4> fU,`ks= S
display these environment variables that have the same value

ASPL 5> printblock ####### DIFFERED PROGRAMS ENVIRONMENT VARIABLES #######

ASPL 6> fU,`ks~ S
display these environment variables that are different in their value

ASPL 7> printblock1 ####### SIMILARITY COMPARISON #######

ASPL 8> sim S
display the similarity

ASPL 9> dm 3

ASPL 10> v