Test-Expect - Example of usage?

Posted on Wed Sep 5 18:10:46 2007 by spider
Example of usage?
Does anyone have a good example of usage?

What I want to do is to create a script, making digest users to apache.
My plan was to use htdigest and an input file with necessary info.
The problem is that htdigest dont take password as a command line parameter, but prompts for the password (twice).

This ought to be easy to do, but I failed.
It is probably also better ways of generating digest passwords to many users, so if someone has a suggestion on that instead feel free and share. :-)
Write a response