read a b cif [$a -gt $b] && [$a -gt &c]thenecho "a is greatest"else if [$b -gt $c]thenecho "b is greatest"elseecho "c is greatest"fifi
Standard input is empty
b is greatest
./prog.sh: line 2: c]: command not found ./prog.sh: line 2: [: missing `]'
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!