Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Message-ID: References: <3 DOT 0 DOT 5 DOT 32 DOT 20031006195451 DOT 0081f100 AT incoming DOT verizon DOT net> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT 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/