[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two bugs in es 0.9 alpha-2



Hi all,

I ran into two bugs when installing the new version.

a) This is a little arguable, but I consider it a bug, because the
former version and all shells I know handle it different:

I tried to get the name a script was called by hence I did:

NAME=`{basename $0}

giving me a value of `%backquote' for `$NAME´.  puh. Workaround:

NAME=$0; NAME=`{basename $NAME} # ugly hack

b) After running quite a ugly script (I use es or prototyping an
application) I do smth like

fn quit  { echo quit; exit 0; }

   ..... {
   ...
   quit
   }
  ...
  ....

when the quit gets executed I get a segmentation violation.

/Jerry