where do you put the filename in that script
----- Original Message -----
From: "David Kramer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 11:55 PM
Subject: Re: [REDHAT] Re: [REDHAT] Shell Scripting
> 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
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list