RosettaCodeData/Task/Input-loop/UNIX-Shell/input-loop-1.sh

5 lines
104 B
Bash

while read line ; do
# examine or do something to the text in the "line" variable
echo "$line"
done