Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
echo small-
if diff /home/bernardo/Downloads/pa2/server/input_small.txt /home/bernardo/Projects/redes2/input_small.txt >/dev/null ; then
echo Same
else
echo Different
fi
echo medium-
if diff /home/bernardo/Downloads/pa2/server/input_medium.txt /home/bernardo/Projects/redes2/input_medium.txt >/dev/null ; then
echo Same
else
echo Different
fi
echo large-
if diff /home/bernardo/Downloads/pa2/server/input_large.txt /home/bernardo/Projects/redes2/input_large.txt >/dev/null ; then
echo Same
else
echo Different
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.