From owner-freebsd-hackers Thu Aug 29 9: 8:30 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 6E85337B400 for ; Thu, 29 Aug 2002 09:08:27 -0700 (PDT) Received: from smtp.web.de (smtp03.web.de [217.72.192.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6671143E6A for ; Thu, 29 Aug 2002 09:08:26 -0700 (PDT) (envelope-from osgene@web.de) Received: from [217.81.208.5] (helo=badger.home) by smtp.web.de with esmtp (WEB.DE(Exim) 4.75 #2) id 17kRY0-0004Hn-00 for freebsd-hackers@freebsd.org; Thu, 29 Aug 2002 17:49:28 +0200 Received: (from gene@localhost) by badger.home (8.12.5/8.12.5) id g7TFnPQ2030770 for freebsd-hackers@freebsd.org; Thu, 29 Aug 2002 17:49:25 +0200 (CEST) (envelope-from gene) Date: Thu, 29 Aug 2002 17:49:25 +0200 From: Eugene Ossintsev To: freebsd-hackers@freebsd.org Subject: FreeBSD's sh: "local" builtin Message-ID: <20020829174925.A30754@badger.home> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 Hallo, FreeBSD's sh has a builtin "local" for the functions. Is it a POSIX.2 feature or Bash influence? I ask about it because Vim doesn't recognize "local" as a keyword for the shell scripts. (Of course, it's not drammatical, it's just a matter of interest for me) It supposes that the classical shell doesn't have "local" at all. Is it so? -- Eugene Ossintsev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message