Re: OT: Output from date command - my little backup script
On 16 January 2011 17:34, Bob Proulx <bob@proulx.com> wrote:
> Adrian Levi wrote:
>> if [ $backuplevel -eq 0]
>
> You are missing a space after the 0 and before the ] and I am hoping
> that is simply an email glitch. But you must have a space there.
>
> if [ $backuplevel -eq 0 ]
Thanks Bob, That fixed it.
I forgot about trying sh -x, now I feel like a goose!
Adrian
--
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.
Reply to: