Answers for "linux bash loop through lines in a file"

12

bash iterate over lines of a file

while read p; do
  echo "$p"
done <peptides.txt
Posted by: Guest on March-05-2020
-1

read file line loop in bash

for word in $(cat peptides.txt); do echo $word; done
Posted by: Guest on August-14-2020

Code answers related to "linux bash loop through lines in a file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language