delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/06/23:00:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 6 Oct 2003 23:00:18 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <1 AT pervalidus DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: Ash woes. [Was: Re: Installation & Uninstallation issues ]
In-Reply-To: <Pine.LNX.4.58.0310062342090.6092@pervalidus.dyndns.org>
Message-ID: <Pine.GSO.4.56.0310062251090.15176@slinky.cs.nyu.edu>
References: <3 DOT 0 DOT 5 DOT 32 DOT 20031006195451 DOT 0081f100 AT incoming DOT verizon DOT net>
<Pine DOT LNX DOT 4 DOT 58 DOT 0310062342090 DOT 6092 AT pervalidus DOT dyndns DOT org>
Importance: Normal
MIME-Version: 1.0

On Mon, 6 Oct 2003, Frédéric L. W. Meunier wrote:

> On Mon, 6 Oct 2003, Pierre A. Humblet wrote:
>
> > Perhaps the setup postinstall scripts should change to using
> > bash. Its behavior is correct and will avoid frustrations.
>
> It'd be nice it I could get rid of it. I have to use
> #!/bin/bash in my scripts, change rxvt (the X11 version)
> because it defaults to sh, use "shell bash" in my .screenrc...
>
> If setup starts using bash, can I get rid of ash, or something
> would still use it ?

Frédéric,

bash should be fully sh-compatible.  If you want to replicate the Linux
setup, simply rename /bin/sh to /bin/ash and hardlink (or symlink)
/bin/bash to /bin/sh (you will get a noticeable startup time increase for
your scripts, which was the original reason for the ash package, but I
doubt you'd have too many other problems -- except you won't be able to
detect non-portable shell scripts on Cygwin anymore).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

- Raw text -


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