#!/bin/sh
echo "Hello World!" > expect
gcc -Wall -Werror -o HelloWorldC HelloWorld.c
./HelloWorldC > HelloWorldC.out
diff expect HelloWorldC.out &> /dev/null && echo "C: Ok." || echo "C: Failed."
