Skip to content

Instantly share code, notes, and snippets.

@mengcz13
Created September 15, 2021 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mengcz13/d274af85640e59d9b29f347a1d80065f to your computer and use it in GitHub Desktop.
Save mengcz13/d274af85640e59d9b29f347a1d80065f to your computer and use it in GitHub Desktop.
csci103_lab3_checkoff_script
printf '0 10 10 20 20\n0 25 50 1 150\n1 128 128 50 50\n1 200 200 15 30\n2' | ./shapes
mv output.bmp output_1.bmp
printf '0 30 -30 60 60\n0 -30 30 60 60\n0 240 30 60 60\n0 30 240 60 60\n2' | ./shapes
mv output.bmp output_2.bmp
printf '1 30 -30 120 120\n1 -30 30 120 120\n1 240 30 120 120\n1 30 240 120 120\n1 100 100 20 50\n2' | ./shapes
mv output.bmp output_3.bmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment