backup script
Kurt Wall
kwall
Mon May 17 11:57:35 PDT 2004
In a 0.6K blaze of typing glory, Ian Stephen wrote:
> On Fri, 2003-12-26 at 23:14, Marianne Taylor wrote:
> > On December 26, 2003 22:57, Marianne Taylor wrote:
>
> > Error is "line 22: [: missing `]'"
>
> Comparing with my own backup script suggests try it without the
> semi-colon.
>
> if [$?-eq0]
You'll want spaces: " if [ $? -eq 0 ] "
K
--
"When you are in it up to your ears, keep your mouth shut."
More information about the Linux-users
mailing list