We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

qrist0ph on 07/03/08


Tagged

linux sysadmin


Versions (?)


Datei zeilenweise ausgeben oder Stdout zeilenweise durchlaufen


Published in: Bash 


  1. for entry in `cat imageList.txt`
  2. do
  3. echo $entry
  4. done
  5.  
  6. ## oder
  7.  
  8. while read entry
  9. do
  10. echo $entry
  11. done < "./imageList.txt"

Report this snippet 

You need to login to post a comment.