I need to write a script to gather the checksum values for a few different files and display them in a table format. I would like the table to be in this format:
File Name Expected Actual
atlas2pega 986C4452 986C4452
dicom2pega 1FCCC2221 5ER33345 etc...
Should I use a single capture file or multiple capture files? I will probably looking at about 10 files or so.
After logging in to the Unix machine I would do the following steps:
cd to desired directory
ascsum filename
capture the output
assign captured output to a string
print table with all the expected and captured strings
Any help is appreciated.
File Name Expected Actual
atlas2pega 986C4452 986C4452
dicom2pega 1FCCC2221 5ER33345 etc...
Should I use a single capture file or multiple capture files? I will probably looking at about 10 files or so.
After logging in to the Unix machine I would do the following steps:
cd to desired directory
ascsum filename
capture the output
assign captured output to a string
print table with all the expected and captured strings
Any help is appreciated.