Yes but I don't understand ...

David Selby cygwin@pusspaws.net
Tue Aug 5 20:20:00 GMT 2003


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/



More information about the Cygwin mailing list