This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# To run you need to: | |
# * Have compiled mem_sim.c to mem_sim in the same folder | |
# * Have mem_trace.txt in the same folder as this script | |
# * Save the script as sums.sh | |
# * Run: chmod +x sums.sh | |
# * Run: ./sums.sh | |
declare -A checksums |