Difference between revisions of "While ... do"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
  
  
* <code>cat your_file.txt | [[while read]] i; do echo "YOUR_TEST $i"; done</code>
+
* <code>cat your_file.txt | [[while read]] i; do echo "YOUR_TEXT $i"; done</code>
 
* <code>cat your_file.txt | [[while read]] i; do echo "$(date) $i"; done</code>
 
* <code>cat your_file.txt | [[while read]] i; do echo "$(date) $i"; done</code>
  

Revision as of 15:13, 19 November 2020

Advertising: