ECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 10, 2002 11:55 PM
> Subject: [REDHAT] Re: [REDHAT] Re: [REDHAT] Shell Scripting
>
>
> > On Mon, 10 Jun 2002, Jesse Angell wrote:
> >
> > > That doesnt look right..
> > > There are many user
On Tue, 11 Jun 2002, Paul Branston wrote:
> On Mon, Jun 10, 2002 at 09:42:56PM -0400, David Kramer wrote:
> >
> > sed -e '/VirtualHost \*/,/\/VirtualHost/d' >/www/conf/httpd.conf
>
> Hi David,
>
> Did you test this ?? I can tell you from bitter experience that you
> need an intermediate file,
On Mon, Jun 10, 2002 at 09:42:56PM -0400, David Kramer wrote:
>
> sed -e '/VirtualHost \*/,/\/VirtualHost/d' >/www/conf/httpd.conf
Hi David,
Did you test this ?? I can tell you from bitter experience that you
need an intermediate file, using sed to read from some file
and write the result out t
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
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!!!s;
print $Line;
'
---
David Kramer
That doesnt look right..
There are many users. I want to delete just that one users
- Original Message -
From: "David Kramer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 8:42 PM
Subject: Re: [REDHAT] Shell Scripting
> On Mon, 10 Jun
On Mon, 10 Jun 2002, Jesse Angell wrote:
> I need to have a script open the file /www/conf/httpd.conf
>
> DocumentRoot /var/www/virtual/$user/html
> Servername $user.palaceunlimited.com
> ErrorLog /var/www/virtual/$user/logs/error_log
> CustomLog /var/www/virtual/$user/logs/access_log combined
>