Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash read file content

cat file | while read line
do
  echo "a line: $line"
done
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #read #file #content
ADD COMMENT
Topic
Name
1+3 =