On 08/03/2010 03:42 PM, Tim Rice wrote: >> ksh is the only shell that requires a space between the ) and {, even >> though the ) is a metacharacter and should not need trailing space (even >> Solaris /bin/sh got that right). > > Hmm, on my UnixWare machine > > $ ksh -c 'a(){ echo hi; }; a' > hi > $ ksh88 -c 'a(){ echo hi; }; a' > hi > > On my Solaris 10 box with ksh Version M-11/16/88i > $ ksh -c 'a(){ echo hi; }; a' > hi > > Even my old OpenLinux 3.1.1 machine running pdksh-5.2.14-6MR gets it right > > What version of ksh did you test on? My testing was with ksh93: Version M 1993-12-28 o+ So David Korn introduced a regression sometime since ksh88. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf