Difference between revisions of "While read line"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  do
 
  do
 
     # do something with $line here
 
     # do something with $line here
 +
    echo $line
 
  done
 
  done

Revision as of 14:08, 28 September 2023

 while read line
cat peptides.txt | while read line 
do
   # do something with $line here
   echo $line
done

Advertising: