This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ash woes. [Was: Re: Installation & Uninstallation issues ]

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 ?


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).
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]