On Fri, Sep 12, 2014 at 06:49:28PM +0200, Tina Harriott wrote:
> We've hit a roadblock in application deployment because the ksh in
> RHEL 7 does not support typeset -c:

It's an ugly workaround, but you did say "roadblock"...

Any chance you could get going again with something like this? Sure,
it's slower than a built-in typeset -c, but it'll be faster than
trying to poke the RHEL bear with a stick. ;-)

    # typeset -c bar=foo
    eval "$(typeset -p foo |sed -e s/foo/bar/)"

I imagine there could be an upper limit to what eval will cope with,
and "typeset -p $foo" could exceed that limit. If that proves true,
you might have to use a temp file and . that instead.

Good luck,
Bob

-- 
Bob Krzaczek, Chester F. Carlson Center for Imaging Science, RIT
phone +1-585-4757196, email [email protected], icbm 43.08586N 77.67744W

Attachment: pgp5Nd464bRRw.pgp
Description: PGP signature

_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to