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

Re: htpasswd

From: Paul L Lussier <pll_at_lanminds.com>
Date: 2003-05-14 19:35:25 CEST

In a message dated: Wed, 14 May 2003 13:03:52 EDT
"Derek J. Balling" said:

>Errrr. no.
>
>bob:xxxxxxxxxx
>bobsmith:xxxxxxxxxx
>
>
>perl -i -pe 's/^bob.*\n//g' htpasswd
>
>would not at all do what you want.

In this case, no, but I (probably incorrectly) assumed that someone
could edit the regex appropriately for their specific use. Maybe a
better regex would be '^<username>:.*\n'.

Regardless, my point was that removing a single line in any given
file is but one command away.

-- 
Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.
	 If you're not having fun, you're not doing it right!
---------------------------------------------------------------------
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:37:25 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.