Path: utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: { and } with for in /bin/sh Keywords: for do done Message-ID: <12430@smoke.BRL.MIL> Date: 24 Mar 90 23:30:51 GMT References: <237@sherpa.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <237@sherpa.UUCP> rac@sherpa.UUCP (Roger Cornelius) writes: -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? It IS documented. So far as I can tell it's supported by all Bourne shells.