Difference between revisions of "While read line"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} while read line")
 
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
   [[while]] read line
 
   [[while]] read line
 +
 +
cat peptides.txt | while [[read]] line
 +
do
 +
    # do something with $line here
 +
    echo $line
 +
done
 +
 +
 +
* [[tuple]]
 +
 +
== See also ==
 +
* {{for}}
 +
* {{while}}
 +
* {{Bash}}

Latest revision as of 13:36, 2 April 2024

Advertising: