On 08/07/2010 01:11 AM, Rony wrote:
> Hello,
> [...snip...]
> if   queryA     ; then
> echo Output1
> else
> echo output2
> fi
>
> if   queryB    ; then
> echo output3
> else
> echo output4
> fi
>
> [...snip...]
> I am getting syntax errors for 'fi'. What is the correct syntax for the
> above combination? Thanks in advance for any help.
>

That looks right. What is the exact error you get ?

cheers,
- steve
-- 
random spiel: http://lonetwin.net/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to