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/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,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/

Reply via email to