Roberto C. Sánchez (12024-12-24):
> I think that '==' is the wrong tool.

       string1 == string2
       string1 = string2
              True if the strings are equal.  = should be used  with  the  test
              command  for  POSIX  conformance.  When used with the [[ command,
              this performs pattern matching as described above (Compound  Com‐
              mands).

But it is a bashism. Better use a more lightweight and standard shell,
/bin/sh, or switch directly to a more powerful one, like zsh.

Regards,

-- 
  Nicolas George

Reply via email to