From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16047 invoked from network); 20 Sep 2005 02:07:37 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 20 Sep 2005 02:07:37 -0000 Received: (qmail 81369 invoked from network); 20 Sep 2005 02:07:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Sep 2005 02:07:29 -0000 Received: (qmail 6147 invoked by alias); 20 Sep 2005 02:07:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9425 Received: (qmail 6138 invoked from network); 20 Sep 2005 02:07:20 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 20 Sep 2005 02:07:20 -0000 Received: (qmail 80401 invoked from network); 20 Sep 2005 02:07:19 -0000 Received: from vms042pub.verizon.net (206.46.252.42) by a.mx.sunsite.dk with SMTP; 20 Sep 2005 02:07:18 -0000 Received: from candle.brasslantern.com ([71.116.79.190]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IN3005ECF83AI72@vms042.mailsrvcs.net> for zsh-users@sunsite.dk; Mon, 19 Sep 2005 21:07:17 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j8K27Eio008703 for ; Mon, 19 Sep 2005 19:07:14 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j8K27DOm008702 for zsh-users@sunsite.dk; Mon, 19 Sep 2005 19:07:13 -0700 Date: Tue, 20 Sep 2005 02:07:12 +0000 From: Bart Schaefer Subject: Re: ulimit "command not found" when run from a script on NetBSD In-reply-to: <20050919192129.GA23976@quark.hightek.org> To: zsh-users@sunsite.dk Message-id: <1050920020712.ZM8701@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050919192129.GA23976@quark.hightek.org> Comments: In reply to Vincent Stemen "ulimit "command not found" when run from a script on NetBSD" (Sep 19, 2:21pm) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 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 ...)