Eric Siegerman wrote:
> 
> On Fri, Feb 14, 2003 at 02:32:42PM -0500, Thomas E. Dickey wrote:
> > On Fri, 14 Feb 2003, Andreas Schwab wrote:
> >
> > > Eric Siegerman <[EMAIL PROTECTED]> writes:
> > >
> > > |>   [ksh doesn't support "=="]
> > >
> > > Since pdksh supports "==" I'd guess that ksh does too.
> 
> Yup.  Sort of.  It's icky.

You have to use double brackets to use "==", thus:

> $ if [ abd == a?d ] ; then echo yes ; else echo no ; fi
> no
> $ if [[ abd == a?d ]] ; then echo yes ; else echo no ; fi
> yes
> $


Reply via email to