bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash exit command should be unconditional


From: Greg Wooledge
Subject: Re: bash exit command should be unconditional
Date: Thu, 8 Apr 2010 12:46:47 -0400
User-agent: Mutt/1.4.2.3i

On Thu, Apr 08, 2010 at 10:07:32AM -0600, Bob Proulx wrote:
> Greg Wooledge wrote:
> > Migrating FROM something that used Korn shell, I presume?  Why not
> > just install Korn shell and use #!/bin/ksh on your scripts, if you need
> > to rely on Korn shell features?

> When I read this I was torn about suggesting that ksh should be
> installed.  It would almost certainly allow the legacy scripts to
> work.  But then you would probably have system scripts that have come
> to expect bash as the /bin/sh and now don't have it.

I would not suggest pointing /bin/sh to ksh.  Just install ksh and
change the shebang on the scripts that require its features.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]