Answers for "bash get each line in a file"

12

for each line in file bash

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

bash read a file line by line

#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
  echo "$line"
done < "$input"
Posted by: Guest on February-22-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 "bash get each line in a file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language