Chet Ramey wrote: > I don't know what version you're using; I have 0.11. > > $ ./posh > \[\]${HOST}($SHLVL)\$ exit 1 > ./posh: exit: bad number > > $ ./posh > \[\]${HOST}($SHLVL)\$ exit 10 > ./posh: exit: bad number > $ echo $? > 1
I am using 0.11 too. I was using the Debian packaged version. Since this originated with Debian it is packaged using "native" packaging where the tar.gz file is used without any patches to an upstream since upstream is Debian. That means 0.11 without a 0.11-number -number on the end. I just now pulled the source code and did a build and the locally compiled copy worked fine. I can only assume this is some type of portability bug in the sources compiled on your system. I can't imagine that many people compile that program on other systems. It can't have gotten that much exposure. Bob