delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/17/17:00:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010117164325.026dcd88@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Wed, 17 Jan 2001 16:50:21 -0500
To: frank DOT palazzolo AT autodesk DOT com, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: RE: Cygwin commands crashes after ssh login
In-Reply-To: <258E47267E4BD3118DCA00805FA72E08052AF425@hqmsgsrf03.autode
sk.com>
Mime-Version: 1.0

At 04:42 PM 1/17/2001, frank DOT palazzolo AT autodesk DOT 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 AT rfk DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019