TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG-DEVEL:253] how do I....?



I would use Perl. What separates the columns in your source file
(spaces, commas, ...)?

Jacqueline Urick wrote:
> 
> I know there has to to be an easy way to do this with a shell script,
> but I don't know how yet. Perhaps one of you can help me. I have a file
> that has 3 columns, one for the filename, username and then password.
> 
> I'm trying to setup a bunch of individual htpasswd files.  How do I make
> a script that looks at the file and then applies it to htpasswd -bc to
> make all my htpasswd files?
> 
> Thanks in advance!
> 
> Jacque
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-devel-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-devel-help@mn-linux.org

-- 
	<a href="http://umn.edu/~john1536">Troy Johnson</a>

If you're not part of the solution, you're part of the
precipitate.
						-- Stephen Wright