On Mon, 10 Jun 2002, Jesse Angell wrote:
> That doesnt look right..
> There are many users. I want to delete just that one users
OK, you could have been more specific. Never fear.
perl -e '
while(<>)
{
$Line .= $_
}
$Line =~ s!<VirtualHost.*'${user}'.*?<\/VirtualHost>!!s;
print $Line;
'
---
DDDD David Kramer http://thekramers.net
DK KD
DKK D "The great tragedy of science -- the slaying of a beautiful
DK KD hypothesis by an ugly fact."
DDDD - Thomas Huxley
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list