Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3F30103F.3080700@pusspaws.net>
Date: Tue, 05 Aug 2003 21:14:55 +0100
From: David Selby <cygwin@pusspaws.net>
Reply-To: cygwin@pusspaws.net
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
CC: cygwin@cygwin.com
Subject: Yes but I don't understand ...
References: <5.2.1.1.2.20030805124611.0204abd0@pop.sonic.net>
In-Reply-To: <5.2.1.1.2.20030805124611.0204abd0@pop.sonic.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Randall R Schulz wrote:

> David,
>
> At 12:28 2003-08-05, David Selby wrote:
>
>> I have hit a problem with bash ... as a sample program I have ...
>
>
> Your problem is that /bin/sh is ash, not BASH. To get BASH, use /bin/bash
>
>
>> #!/bin/sh
>>
>> Dave
>

You are dead right, I tried

/bin/bash <script>

and it worked perfectly, but I am afraid I do not understand why ...
echo $BASH_VERSION
Tells me I have bash

I call cygwin with ...
c:\cygwin\win\rxvt.exe -e \bin\bash --login -i
ie bash

Where did ash (a stripped down bash?) come in ?

Dave




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

