Re: [ILUG] Re: shell script Q

From: Geoff Boyle (Geoff at domain Clubi.ie)
Date: Fri 17 Sep 1999 - 15:54:41 IST


Are you sure it isn't the other way round ?

ie
eq and neq for strings
= and != for numbers

Geoff (totally unsure of himself) Boyle

> >
>
> The syntax error arises from using ==.
> test(1) does not recognise == as an operator.
> = tests for equality of strings, and -eq for numerical equality.
>
> --



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:34 GMT