Horje
sh read file line by line Code Example
sh read file line by line
#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
  echo "$line"
done < "$input"
bash for each line of file
while read p; do
  echo "$p"
done <peptides.txt




Shell

Related
pop shell ubuntu Code Example pop shell ubuntu Code Example
read file using shell script Code Example read file using shell script Code Example
enable setting in ubuntu Code Example enable setting in ubuntu Code Example
git command to add execute permission Code Example git command to add execute permission Code Example
git ssl certificate problem Code Example git ssl certificate problem Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11