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

Re: htpasswd

From: Russ Allbery <rra_at_stanford.edu>
Date: 2003-05-15 00:49:42 CEST

Greg Stein <gstein@lyra.org> writes:

> Does Perl have most of the sed operations? Could it be something like:

> perl -i -pe '/^<username>:/d' htpasswd

Perl writes that as:

    perl -i -ne 'print unless /^<username>:/' htpasswd

It doesn't support sed commands in the fashion that I think you're
thinking of (namely the address-command syntax).

Russ Allbery (rra_at_stanford.edu)             <http://www.eyrie.org/~eagle/>
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 15 00:51: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.