Re: FreeBSD's sh: "local" builtin

2002-08-29 Thread Christian Weisgerber
Chet Ramey: > > Korn Shell, more likely. > It's bash. The Korn shell doesn't have it. ksh88 has a pre-defined alias local=typeset. -- Christian "naddy" Weisgerber [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in t

Re: FreeBSD's sh: "local" builtin

2002-08-29 Thread Chet Ramey
> Eugene Ossintsev <[EMAIL PROTECTED]> 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

Re: FreeBSD's sh: "local" builtin

2002-08-29 Thread Christian Weisgerber
Eugene Ossintsev <[EMAIL PROTECTED]> 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 supposes that the classical shell doesn't have "local" at all. Correct. -- Christian "naddy" Weisgerber

FreeBSD's sh: "local" builtin

2002-08-29 Thread Eugene Ossintsev
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