From owner-freebsd-questions Fri Nov 16 16:22:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp018.mail.yahoo.com (smtp018.mail.yahoo.com [216.136.174.115]) by hub.freebsd.org (Postfix) with SMTP id 7D92B37B416 for ; Fri, 16 Nov 2001 16:22:21 -0800 (PST) Received: from unknown (HELO ALBINI) (128.147.34.42) by smtp.mail.vip.sc5.yahoo.com with SMTP; 17 Nov 2001 00:22:20 -0000 Date: Fri, 16 Nov 2001 19:22:17 -0500 From: Rod Person To: FreeBSD Questions Subject: bash scriot function errors Message-Id: <20011116192217.027e7a84.roddierod@yahoo.com> Organization: Open Source Beef X-Mailer: Sylpheed version 0.6.3 (GTK+ 1.2.8; i386--freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm trying to run a bash scriot that contains functions. when I run the scriot I get the error that the function in the script is not found? How do I correct this? Do I have to place the directory that the script is in in the path variable? I try to invoke the script like this sh ./script.sh roddierod@yahoo.com "I'm a character in a world gone wrong!" - Entombed - Returning to Madness _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message