From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22437 invoked from network); 19 Sep 2005 19:27:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Sep 2005 19:27:25 -0000 Received: (qmail 18523 invoked from network); 19 Sep 2005 19:27:17 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Sep 2005 19:27:17 -0000 Received: (qmail 4157 invoked by alias); 19 Sep 2005 19:27:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9424 Received: (qmail 4147 invoked from network); 19 Sep 2005 19:27:10 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Sep 2005 19:27:10 -0000 Received: (qmail 17453 invoked from network); 19 Sep 2005 19:27:10 -0000 Received: from eastrmmtao06.cox.net (68.230.240.33) by a.mx.sunsite.dk with SMTP; 19 Sep 2005 19:27:08 -0000 Received: from quark.hightek.org ([68.12.75.33]) by eastrmmtao06.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050919192705.VTYZ17424.eastrmmtao06.cox.net@quark.hightek.org> for ; Mon, 19 Sep 2005 15:27:05 -0400 Received: from quark.hightek.org (localhost [127.0.0.1]) by quark.hightek.org (Postfix) with ESMTP id 427D776C87 for ; Mon, 19 Sep 2005 14:21:30 -0500 (CDT) Received: (from vince@localhost) by quark.hightek.org (8.12.11/8.12.11) id j8JJLTGs001170 for zsh-users@sunsite.dk; Mon, 19 Sep 2005 14:21:29 -0500 (CDT) Date: Mon, 19 Sep 2005 14:21:29 -0500 From: Vincent Stemen To: zsh-users@sunsite.dk Subject: ulimit "command not found" when run from a script on NetBSD Message-ID: <20050919192129.GA23976@quark.hightek.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i 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 When I run ulimit from a script with "#!/bin/sh" (with sh sym-linked to zsh), I get "command not found: ulimit". However, it works fine from the command line or from a script with "#!/bin/zsh". It also works if I say "emulate sh" in the script as long as it is not run with "#!/bin/sh". Could this be a bug? zsh version: zsh 4.2.4 (i386--netbsdelf) -- Vincent Stemen Avoid the VeriSign/Network Solutions domain registration trap! Read how Network Solutions (NSI) was involved in stealing our domain name. http://inetaddresses.net/about_NSI.html