Answers for "foreach line in variable bash"

1

bash while read line loop from variable

while read -r line
do
 echo "line=[$line]"
done < <(cat jj)
Posted by: Guest on March-05-2021
0

shell foreach line

cat file | while read -r a; do echo $a; done
Posted by: Guest on January-28-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language