Given a file that was output by
script, is there a way to run all of those commands in order, and then check to see if the output matches what was in the script file?
I assume that
diff can be used for the last part, but I have no idea on how to do the first. Any ideas?
Using a tcsh shell on linux (Debian, but I doubt it matters).