Answers for "for loop in bash read every line"

0

bash loop lines in file

#!/bin/bash
filename='peptides.txt'
echo Start
while read p; do 
    echo $p
done < $filename
Posted by: Guest on April-26-2021
0

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 "Shell/Bash"

Browse Popular Code Answers by Language