{ and } with for in /bin/sh

Roger Cornelius rac at sherpa.UUCP
Fri Mar 23 11:55:32 AEST 1990


I recently came across some sh code which uses { and } instead of
do ... done in a for loop.  I've never seen this documented in any sh
or ksh man page, so should it therefore be considered non-portable?
When was this introduced and why isn't it documented?

--
Roger A. Cornelius           rac at sherpa            uunet!sherpa!rac



More information about the Comp.unix.questions mailing list