fork download
  1. read x;
  2. read y;
  3. if [ $x -lt $y ]
  4. then
  5. echo "x lessthan y";
  6. elif [ $x -gt $y ]
  7. then
  8. echo "x greater than y";
  9. else
  10. echo "x is equal to y";
  11. fi
Success #stdin #stdout 0s 4852KB
stdin
Standard input is empty
stdout
x lessthan y