[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash exit command should be unconditional
From: |
Bob Proulx |
Subject: |
Re: bash exit command should be unconditional |
Date: |
Thu, 8 Apr 2010 10:52:41 -0600 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Greg Wooledge wrote:
> 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.
Of course! The simple answer! Now why did my brain block that
obvious solution from me? :-)
Bob
- bash exit command should be unconditional, Vadym Chepkov, 2010/04/07
- Re: bash exit command should be unconditional, Jan Schampera, 2010/04/08
- Re: bash exit command should be unconditional, Bob Proulx, 2010/04/08
- Re: bash exit command should be unconditional, Roman Rakus, 2010/04/08
- Re: bash exit command should be unconditional, Vadym Chepkov, 2010/04/08
- Re: bash exit command should be unconditional, Greg Wooledge, 2010/04/08
- Re: bash exit command should be unconditional, Bob Proulx, 2010/04/08
- Re: bash exit command should be unconditional, Greg Wooledge, 2010/04/08
- Re: bash exit command should be unconditional,
Bob Proulx <=