[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: htpasswd

From: Thom May <thom_at_planetarytramp.net>
Date: 2003-05-14 23:35:24 CEST

* Greg Stein (gstein@lyra.org) wrote :
> On Wed, May 14, 2003 at 06:11:43PM +0100, Thom May wrote:
> > > On Wednesday, May 14, 2003, at 12:58 PM, Paul L Lussier wrote:
> > > > perl -i -pe 's/^<username>.*\n//g' htpasswd
> >...
> > well, the algorithm i'm just adding to htpasswd to do deletion uses
> > "<username>:" as the string, so:
> > perl -i -pe 's/^<username>:.*\n//g' htpasswd
> > would be roughly equivalent.
>
> Does Perl have most of the sed operations? Could it be something like:
>
> perl -i -pe '/^<username>:/d' htpasswd
>
I don't honestly know. In httpd 2.1 (and shortly 2.0 when i get enough votes
*hint* ;-) ) you can now just do htpasswd -D <passfile> <username>.
Cheers
-Thom

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 14 23:38:26 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.