Here's a real quick and dirty way to test to see if the program I'm refactoring continues to do the right thing. If the diff command prints anything out, I need to take one step back and try the refactoring again.
./newnotes > la
./newnotes | diff - la