Björn Lindberg d95-bli at
Wed Jul 14 05:40:00 PDT 2004

Bennett Todd <bet at> writes:

> 2004-07-13T21:40:33 Bennett Todd:
> > Thanks for the POSIX shell ptrs and tips.
> Just gave 'em a quick read, and what I came away with is that the
> (( ... )) and [[ ... ]] stuff that ksh "added" doesn't have portably
> guaranteed behavior; sounds like the subset of sh I'm working in is
> awfully close to exactly the portable intersection of what standards
> mandate and real shells simplement.

That may be the case, but I do believe that (( ... )) and [[ ... ]] is
quite portable in practice between POSIX shells. I could be wrong

> And I've been told folks where I work have been rassling with
> compatibility problems between older and newer ksh's (they didn't
> avoid shell-specific features).

ksh93 has some significant features beyond ksh88, for example it has
floating point arithmetic.


More information about the lfs-chat mailing list