[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 19:11:43 CEST

* Derek J. Balling (dredd@megacity.org) wrote :
>
> On Wednesday, May 14, 2003, at 12:58 PM, Paul L Lussier wrote:
>
> >
> > perl -i -pe 's/^<username>.*\n//g' htpasswd
>
> Errrr. no.
>
> bob:xxxxxxxxxx
> bobsmith:xxxxxxxxxx
>
>
> perl -i -pe 's/^bob.*\n//g' htpasswd
>
> would not at all do what you want.

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.
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 19:13:00 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.