Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bashlooplines [2015/06/02 12:50]
yassine chaouche created
bashlooplines [2015/06/07 14:02] (current)
yassine chaouche
Line 2: Line 2:
 [[index|Home]] > [[computers|computers]] > [[linux]] > [[bash]] > [[BashLoopLines|BashLoopLines]] | [[About]] [[index|Home]] > [[computers|computers]] > [[linux]] > [[bash]] > [[BashLoopLines|BashLoopLines]] | [[About]]
  
-Je pense que **read** est impliquéVoici comment : +Example 
 + 
 +<​code>​ 
 +while IFS=$'​\t' ​read -r email name 
 +do 
 +    inbox="​${email%@*}" 
 +    backup="​$inbox"​@backup.algerian-radio.dz 
 +    echo ./​createinbox_v2 "​$backup"​ "​$name"​  
 +    ​./​createinbox_v2 "​$backup"​ "​$name"​  
 +done < /​path/​to/​inputfile 
 +</​code>​
  
  

QR Code
QR Code bashlooplines (generated for current page)