Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ulimit "command not found" when run from a script on NetBSD



On Tuesday 20 September 2005 06:07, Bart Schaefer wrote:
> On Sep 19,  2:21pm, Vincent Stemen wrote:
> }
> } Could this be a bug?
>
> The ulimit builtin comes from the rlimits module.  Modules are not
> automatically loaded when zsh runs as "sh", to avoid polluting the
> variable namespaces or replacing external commands with builtins.
>
> Whether it's noncompliant from a POSIX point of view that "ulimit"
> is not a "normal" builtin, I don't know.  (I ought to bookmark the
> spec one of these days ...)

well, ulimit shell builtin is part of current SUS:

Since ulimit affects the current shell execution environment, it is always 
provided as a shell regular built-in. 

I do not have POSIX to check.

Attachment: pgp9CMArse06i.pgp
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author