I am converting my functions from bash to zsh, when I do something like:
ciao.old () {
if [ $# == 0 ]
then
PARM="-h"
else
PARM=$*
fi
I get an error like:
% ciao.old
ciao.old:8: = not found
Using the old FORTRAN syntax, Replacing == with -eq fixes the problem; is this a bug, or just being tricky???
TIA, Frankie G.