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
> 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
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
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
4 matches
Mail list logo