how to loop through a line in linux code example
Example 1: bash iterate over lines of a file
while read p; do
echo "$p"
done <peptides.txt
Example 2: bash for each line of file
while read p; do
echo "$p"
done <peptides.txt
while read p; do
echo "$p"
done <peptides.txt
while read p; do
echo "$p"
done <peptides.txt