From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28471 invoked from network); 20 Sep 2005 02:55:19 -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:55:19 -0000 Received: (qmail 9447 invoked from network); 20 Sep 2005 02:55:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Sep 2005 02:55:11 -0000 Received: (qmail 12886 invoked by alias); 20 Sep 2005 02:55:04 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9426 Received: (qmail 12876 invoked from network); 20 Sep 2005 02:55:03 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 20 Sep 2005 02:55:03 -0000 Received: (qmail 8376 invoked from network); 20 Sep 2005 02:55:03 -0000 Received: from flock1.newmail.ru (212.48.140.157) by a.mx.sunsite.dk with SMTP; 20 Sep 2005 02:55:02 -0000 Received: (qmail 2920 invoked from network); 20 Sep 2005 02:44:28 -0000 Received: from unknown (HELO ?10.0.0.50?) (arvidjaar@newmail.ru@83.237.13.176) by smtpd.newmail.ru with SMTP; 20 Sep 2005 02:44:28 -0000 From: Andrey Borzenkov To: zsh-users@sunsite.dk Subject: Re: ulimit "command not found" when run from a script on NetBSD Date: Tue, 20 Sep 2005 06:54:57 +0400 User-Agent: KMail/1.8.2 References: <20050919192129.GA23976@quark.hightek.org> <1050920020712.ZM8701@candle.brasslantern.com> In-Reply-To: <1050920020712.ZM8701@candle.brasslantern.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5222568.6kXAUZKBNJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509200654.58805.arvidjaar@newmail.ru> 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.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 --nextPart5222568.6kXAUZKBNJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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= =20 provided as a shell regular built-in.=20 I do not have POSIX to check. --nextPart5222568.6kXAUZKBNJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDL3oCR6LMutpd94wRAkxWAJwOSnUQOwLXI7hBYgBB4Rxwx8uu5gCgjBBi 1yMbyeBuLDrCDLMmpf/Zjrc= =Gi/7 -----END PGP SIGNATURE----- --nextPart5222568.6kXAUZKBNJ--