delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/17/12:48:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <m10ufIo-007vP6C@light.lbin.com>
Date: Thu, 17 Jun 1999 09:46:11 -0700 (PDT)
From: <itz AT lbin DOT com>
To: earnie_boyd AT yahoo DOT com
CC: drh AT acm DOT org, cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <19990617123626.6913.rocketmail@web113.yahoomail.com> (message
from Earnie Boyd on Thu, 17 Jun 1999 05:36:26 -0700 (PDT))
Subject: Re: "sed" bug?

   Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
   Precedence: bulk
   Sender: cygwin-owner AT sourceware DOT cygnus DOT com
   Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
   Date: Thu, 17 Jun 1999 05:36:26 -0700 (PDT)
   From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
   Reply-To: earnie_boyd AT yahoo DOT com
   Cc: cygwin AT sourceware DOT cygnus DOT com
   MIME-Version: 1.0
   Content-Type: text/plain; charset=us-ascii

   --- "D. Richard Hipp" <drh AT acm DOT org> wrote:
   > Earnie Boyd wrote:
   -8<-
   > > Does the command work interactively under sh vs bash?  
   > 
   > I don't understand.  "sh" is "bash" on both Linux and
   > Cygwin20, is it not?  I'm not running csh if that is
   > what you are asking.
   > 

   No!!  On both systems sh is _NOT_ bash.  sh is ash which was written
   specifically for Linux to be a lightweight shell in order to increase
   processing speed.

That depens on the Linux distribution, I believe.  On my home system,
sh is bash.  And ash is older than Linux, methinks.

Is ash supposed to be a full implementation os the POSIX shell?  If
not, you'll always run into scripts that are hash-banged with
#!/bin/sh but contain constructs ash won't understand.

Not a flame - I understand that there may be excellent reasons to
avoid the full weight of bash in an emulated environment like Cygwin.

-- 
Ian Zimmerman
Lightbinders, Inc.
2325 3rd Street #324
San Francisco, California 94107
U.S.A.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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