A (probably) stupid question from a shell-programming newbie..
I have got a long list of usernames and passwords which I want to read and pass to the
htpasswd command. I need a function which reads a line of a file, giving me a variable
with the contents of that line, then moving on to the next line and so on, looping. I
looked around, but the best I found was the 'read' command which I only get to read
one line... I know there must be a way to do this, but I can't find it... help!
Thanks in advance,
Niclas
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.