read x;read y;if [ $x -lt $y ]thenecho "x lessthan y";elif [ $x -gt $y ]thenecho "x greater than y";elseecho "x is equal to y";fi
Standard input is empty
x lessthan y
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!