Re: tests: adjust shell syntax that breaks AIX /bin/sh

James Youngman <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <CAGwX767XB1pFqpqmZ33FpSkxZGb4-KUVjMkk8W5wwe16xw817g@mail.gmail.com>
FWIW, I think AIX is compliant here.    I believe that this syntax is valid:

for x; do y; done

... and this syntax is also valid

for x
do
  y
done

... but

for x;
do
  y
done

... isn't (at least in some POSIX versions - I don't know if this changed
at any point).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.