This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: Cygwin commands crashes after ssh login
- To: frank dot palazzolo at autodesk dot com,cygwin at cygwin dot com
- Subject: RE: Cygwin commands crashes after ssh login
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Wed, 17 Jan 2001 16:50:21 -0500
At 04:42 PM 1/17/2001, frank.palazzolo@autodesk.com wrote:
> >/bin/sh is bash in the standard gnu dist.. :-) So copy your compiled
> >bash to /bin/sh..
> >
> > /Andy
>
>Thanks Andy,
>
>That's what I thought too, but when the file sizes were so different I looked around and realized my sh.exe came from ash-20001002.tar.gz, which is a different shell and codebase, I guess.
Absolutely. In Cygwin /bin/sh is NOT equivalent to /bin/bash. /bin/sh is
ash, which is an optimized version of the bourne shell. Its used instead of
bash for performance reasons (mostly noticeable in configures). However
ash does seem to have more bugs than bash (if the issues that arise on this
list are any indication). While the bugs that have been found have been
rapidly fixed, how many are left is uncertain (as always). If shell
performance is not you're major concern, you can use bash as /bin/sh.
However, recompiled or not, any version of bash is different enough from
ash to have a strong potential for reacting differently in any particular
case. Usually this means its more forgiving/works better. YMMV.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple