John Kearney wrote: > Eric Blake wrote: > >> [ "${test}" = "${test//"'"/"'"}" ] || exit 999 > > > > exit 999 is pointless. It is the same as exit 231 on some shells, > > and according to POSIX, it is allowed to be a syntax error in other > > shells. > > I was going for || exit "Doomsday" i,e. 666 = 999 = Apocalypse.
Yes. But... As we all know exit codes are only eight bits and that limits you to 0-255 only! Anything else and you have "jumped the tracks" with implementations doing implementation defined things. Maybe one of them will invoke the game of rogue! :-) Bob