[plug] script error

Mr E_T troll at arach.net.au
Thu Jan 12 09:32:28 WST 2006


On Thursday 12 January 2006 09:39, Jon Miller wrote:
> Did that a few minutes ago and still same error.
> 
> Jon
> 
> >>> troll at arach.net.au 9:22:57 am 12/01/2006 >>>
> On Thursday 12 January 2006 08:06, Jon Miller wrote:
> > I've tried looking how to construct this and I keep getting the same error
> > 
> > syntax error near unexpected token `else'
> > 
> > if [ $fileA == $fileB ]; then                         # compare files
try 
if [ "$fileA" == "$fileB" ]
 then
> >   echo "FileA and FileB are identical."
> >   recreate()                                                 # run function
> >   else
> >   echo "FileA and FileB differ."
> >   chngacct()                                                # run function
> > fi

-- 
regs MR E_T
_______________________
\                      \
  \   OOHH I hate TYPOS  \
    \                      \
      ~~~~~~~~~~~~~~~~~~~~~~~



More information about the plug mailing list