Für jede Zeile in der Datei -Bash
while read p; do
echo "$p"
done <peptides.txt
Sal-versij
while read p; do
echo "$p"
done <peptides.txt
#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
echo "$line"
done < "$input"
for word in $(cat peptides.txt); do echo $word; done