[linux] Re: BASH vraagje

Peter Fokker nllgg op berestijn.nl
Di Okt 23 12:06:59 CEST 2007


"Jan Rozema" wrote:

> Ik zoek een voorbeeld hoe je mbv een BASH script
> een tekstbestand regel voor regel inleest
> in een variabele waar een bewerking op plaatsvindt.
> (bijv useradd $user)

Via Google vond ik ongeveer 1.830.000 hits op "while read line bash".
Zo kwam ik bijv. op 
http://anton.lr2.com/archives/category/bash/ en meer specifiek op
http://anton.lr2.com/archives/2005/03/24/using-a-bash-for-loop-to-wget/ en
http://anton.lr2.com/archives/2005/03/23/read-a-file-with-bash/

Daar zit misschien nog wel wat informatie voor je bij?

Groeten,

--Peter Fokker

-- 
Q: Hoe noem je een consultant die migratie van Linux naar Windows adviseert?
A: Een spookrijder op de informatiesnelweg.



More information about the Linux mailing list