( ** Go back to PARENTPAGE ../ASPL-Scripting-Language.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

Running dispersed to reveal how files are dispered in three different directories

dispersed is a utility script that uses ASPL shallowed set operations to help you look into these files that are dispersed on your filesystem. The utility offers various options to diplay different views. For example, you can view files that have the name names but different contents, or files that have different names with same contents, etc. You will be able to match file names regardless of their character case, and match these files starting or ending the same. You wil also be able to compare subdirectories and their content, and further match the subdirectory pathes by breaking them into their constituent stems.

ASPL 1> timeout 90

ASPL 2> displayoff

ASPL 3> ks ks7

ASPL 4> displayon

ASPL 5> setshallowed elem
set shallowed to the elem processor

ASPL 6> ks fname chksum mtime
set ks vector to fname chksum mtime

ASPL 7> PRINTBLOCK DISPLAY FILES HAVING THE SAME NAMES BUT DIFFERENT ENTROPY
PRINTBLOCK DISPLAY FILES HAVING THE SAME NAMES BUT DIFFERENT ENTROPY

ASPL 8> f*&`h~ vienna_D1 loca_D2 loca_D3
f*&`h~ vienna_D1 loca_D2 loca_D3

ASPL 9> setshallowed begelem
set shallowed to the begelem processor

ASPL 10> ks fname chksum mtime

ASPL 11> PRINTBLOCK DISPLAY THE FILES STARTING WITH THE SAME NAMES
PRINTBLOCK DISPLAY THE FILES STARTING WITH THE SAME NAMES

ASPL 12> f*&`ks~ vienna_D1 loca_D2 loca_D3
f*&`ks~ vienna_D1 loca_D2 loca_D3

ASPL 13> ks fname chksum mtime

ASPL 14> PRINTBLOCK DISPLAY FILES WITH DIFFERENT NAMES BUT HAVING THE SAME CONTENTS
PRINTBLOCK DISPLAY FILES WITH DIFFERENT NAMES BUT HAVING THE SAME CONTENTS

ASPL 15> c&`ks~ vienna_D1 loca_D2 loca_D3

ASPL 16> v
print symbol table