Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash read file line by line

#!/bin/bash
while read line
do
  echo $line
done < /path/to/file
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #read #file #line #line
ADD COMMENT
Topic
Name
5+5 =