: "Morgan Terry" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 08, 2001 7:11 PM
Subject: Re: syntax error in backup script
> Jason Pepas wrote:
> >
> > i am brewing up a backup script, but i am running into an error
which
> > has me baffled.
> >
> > i try to
Jason Pepas wrote:
>
> i am brewing up a backup script, but i am running into an error which
> has me baffled.
>
> i try to run the script and get a syntax error which look something like
> this:
>
> syntax error near unexpected token 'elif'
>
> this is the line in question:
>
> elif [ ! -f "/
ot;
Sent: Tuesday, May 08, 2001 8:56 AM
Subject: Re: syntax error in backup script
> Quoting Jason Pepas ([EMAIL PROTECTED]):
>
> > syntax error near unexpected token 'elif'
> >
> > this is the line in question:
> >
> > elif [ ! -f "/backup/cur
Quoting Jason Pepas ([EMAIL PROTECTED]):
> syntax error near unexpected token 'elif'
>
> this is the line in question:
>
> elif [ ! -f "/backup/current/*fullbackup.tar.gz" ]
elif needs "then" just like if does.
Cheers,
--
Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 1
i am brewing up a backup script, but i am running into an error which
has me baffled.
i try to run the script and get a syntax error which look something like
this:
syntax error near unexpected token 'elif'
this is the line in question:
elif [ ! -f "/backup/current/*fullbackup.tar.gz" ]
here
5 matches
Mail list logo