#!/bin/bashwhile true/1do read line if [ $line -eq 42 ] then exit 0 fi echo $linedone
1 2 10 42 11
Standard output is empty
./prog.sh: line 2: true/1: No such file or directory
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!