From owner-freebsd-hackers Thu Aug 29 11:25:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6379C37B400 for ; Thu, 29 Aug 2002 11:25:36 -0700 (PDT) Received: from nike.ins.cwru.edu (nike.INS.CWRU.Edu [129.22.8.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87C4643E6A for ; Thu, 29 Aug 2002 11:25:35 -0700 (PDT) (envelope-from chet@nike.ins.cwru.edu) Received: from nike.ins.cwru.edu (localhost [127.0.0.1]) by nike.ins.cwru.edu with ESMTP (8.12.3/CWRU-2.9-fbsd) id g7TIPVGR016063; Thu, 29 Aug 2002 14:25:31 -0400 (EDT) (from chet@nike.ins.cwru.edu) Received: (from chet@localhost) by nike.ins.cwru.edu (8.12.3/8.12.3/Submit) id g7TIPUrN016062; Thu, 29 Aug 2002 14:25:30 -0400 (EDT) Date: Thu, 29 Aug 2002 14:24:49 -0400 From: Chet Ramey To: naddy@mips.inka.de Subject: Re: FreeBSD's sh: "local" builtin Cc: freebsd-hackers@freebsd.org Reply-To: chet@po.CWRU.Edu Message-ID: <020829182449.AA16057.SM@nike.ins.cwru.edu> Read-Receipt-To: chet@po.CWRU.Edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-In-Reply-To: Message from naddy@mips.inka.de of Thu, 29 Aug 2002 17:16:57 +0000 (UTC) (id ) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Eugene Ossintsev wrote: > > > FreeBSD's sh has a builtin "local" for the functions. Is it a POSIX.2 > > feature > > No. > > > or Bash influence? > > Korn Shell, more likely. It's bash. The Korn shell doesn't have it. We picked it up from one of the early POSIX.2 drafts. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message