Skip to content

Instantly share code, notes, and snippets.

@mauris
Created February 16, 2017 05:12
Show Gist options
  • Save mauris/c285698cc303e4509106fefd967f9c67 to your computer and use it in GitHub Desktop.
Save mauris/c285698cc303e4509106fefd967f9c67 to your computer and use it in GitHub Desktop.
export RUNFILE=BabyNames; javac $RUNFILE.java; for file in *.in; do java $RUNFILE < $file | diff ${file%.*}.out -; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment