On Thu, Apr 23, 2015 at 01:01:43AM +0100, Dr Alun J. Carr wrote:
> Well, to be strictly conformant with heirloom SysV sh,
Nobody cares about compatibility with Bourne shell any more. Not since
Solaris finally pulled its head out of its ass and put a POSIX sh in
/bin (20 years after everyone else).
> Perhaps this needs to go into a FAQ somewhere about coding loops for an
> absolutely bare-bones shell.
You are on bug-bash, so all we really care about is bash. Or maybe
POSIX. Or more specifically, bash's conformance with POSIX.
If you want a FAQ, though, I have one for this:
http://mywiki.wooledge.org/BashPitfalls#pf33
OK, technically it's not in the FAQ, but close enough.