Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash for stdin

while read line ; do  echo "$line" ; done < "${1:-/dev/stdin}"
 
PREVIOUS NEXT
Tagged: #bash #stdin
ADD COMMENT
Topic
Name
6+8 =