expanding ! is not original ksh88 behavior it is not posix behavior is it documented sun behavior?
otherwise I think its something else that incorrectly implicates this line I'll work offlist with Fabian to track it down and report the findings On Fri, 17 Feb 2006 11:28:35 +0100 Joerg Schilling wrote: > > does sun's ksh88i enable some form of expansion on ! ? > Yes, it looks like it does expand ! anywhere on the command line. > I did experiment with \! and '!' and it did not help. > The only way to make the script work on Solaris 10 was to change > if test ! -d somedir > then > doit > fi > to > if test -d somedir > then > : > else > doit > fi
