Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Mon, 13 Sep 1999 18:01:38 -0400
To: Christopher Jones <Christopher_Jones@baynetworks.com>
Cc: "Cygwin (E-mail)" <cygwin@sourceware.cygnus.com>
Subject: Re: builtin functions missing
Message-ID: <19990913180138.A12899@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: Christopher Jones <Christopher_Jones@baynetworks.com>,
	"Cygwin (E-mail)" <cygwin@sourceware.cygnus.com>
References: <005601befe23$411cf5c0$effcf584@rtp-cbjones.corpeast.baynetworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <005601befe23$411cf5c0$effcf584@rtp-cbjones.corpeast.baynetworks.com>; from Christopher Jones on Mon, Sep 13, 1999 at 04:04:57PM -0400

declare is not a standard /bin/sh command.  It may be a bash function
but bash != sh.

-chris

On Mon, Sep 13, 1999 at 04:04:57PM -0400, Christopher Jones wrote:
>The problem I have is that builtins like 'declare' seem to not exist if I
>run a simple script as 'myscript.sh' from within bash, but do exist if I
>instead run the script as 'bash myscript.sh'.  The script starts with a line
>like "#!/bin/sh" and /bin is a symbolic link to the mounted drive/directory
>of cygwin (mount in the DOS sense of the word),
>/usr/cygnus/cygwin-b20/H-i586-cygwin32/bin/.
>
>I'm hoping someone can point me to information on how to fix this.  I've not
>seen anything concerning this in my searches through the archive and on the
>web though that doesn't mean it isn't there.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

