On 09/15/2014 09:53 AM, Wendy Lin wrote:
On 12 September 2014 18:49, Tina Harriott <[email protected]> wrote:
We've hit a roadblock in application deployment because the ksh in
RHEL 7 does not support typeset -c:
ksh -c 'float y=5 ; typeset -c x=y ; print $x'
ksh[1]: typeset: -c: unknown option
Usage: typeset [-bflmnprstuxACHS] [-a[type]] [-i[base]] [-E[n]]
[-F[n]] [-L[n]] [-R[n]] [-X[n]] [-h string] [-T tname] [-Z[n]]
[name[=value]...]
Or: typeset [ options ] -f [name...]
When was typeset -c introduced? Does anyone know how to get ksh in
RHEL updated or typeset -c backported?
Getting ksh in Fedora/RHEL updated is impossible. What Fedora/RHEL
ships is usually an ancient&bug infested ksh which is kept around for
compatibility to satisfy legacy applications but RH does not really
thinks about getting an update train established like for perl&python.
Just rm -rf /bin/ksh and install your own version from ksh
We ship what version our userbase needs and they mostly need their
scripts to be working. Some have scripts hundreds of thousands lines
long and don't want to update those scripts (ksh sometimes changes
behaviour with next release) because it would be huge effort and it
would introduce bugs. I'm not sure about bug infested either. We track
more complains about bugs in latest release than the patched version we
have. (Talking about real complains, not theoretical list of what bug
can anyone see by checking the changelog.) The bugs that our userbase
reports are usually present in latest release too and we usually
write/backport the fix for next rhel minor release. So, lets agree to
disagree.
For "update train" - as I wrote, that's not what most of our users want.
There can be some who would like to see some new feature or something
and they are sad when they have to wait for it. If we did do the update,
we'd have got *a lot* of angry emails for every change and bug they
would notice. We've been there.
FYI, rhel 6 and rhel 7 in fact ships latest stable release available.
Updating anything in an enterprise environment to alpha/beta is a no go.
And that does not mean just that release is marked as stable, but that
it's also stable from our point of view (passes our tests). And even
when it passes our tests, be sure that users will find some.
I won't comment this any further, so we have no flames here.
-----------------------------
Back to the topic. ksh in rhel 7 won't be updated any time soon. First,
there is no stable release to update to. Second, it changes behaviour of
`...` vs. $(...) and when it's supposed to be completed. We can't throw
that at our users in released version. It would break their scripts and
make them angry. So this will get in in next major update (rhel 8). If
you want this to be backported, you have to contact the official support
and it will be evaluated by product management.
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users