Re: What version of korn shell?

From: Bo Thide' (bt_at_irfu.se)
Date: 06/27/04

  • Next message: Shashank: "Re: gcc 2.96"
    Date: Sun, 27 Jun 2004 09:42:16 +0200
    
    

    Lothar Paltins wrote:
    >
    > --==[bman]==-- wrote:
    >
    > > I wish it were that simple. When it comes to installing software which
    > > is not officially supported by HP (by this I mean when call HP support,
    > > they will not turn you down because the software installed was not the
    > > one they support), my hands are tied. Wouldn't it make sense for HP to
    > > ship their flagship OS with up-to-date version of Korn?
    > >
    > > I will call them up and ask about it.
    >
    > Forget it. Nobody at HP will bother to change the default ksh version
    > under HP-UX. The latest ksh version, ksh93, is already 11 years old, but
    > HP still ships ksh88 with HP-UX.
    >
    > But don't despair! There are 2 solutions:
    >
    > 1. Install the Open Source ksh93 like Kenneth already suggested. You can
    > always install additional software without affecting your support
    > contract. There's no need to remove the original ksh88, just install ksh93
    > to a different place, e.g. /usr/local/bin or, what I did at work,
    > $HOME/bin.
    >
    > 2. There's already a ksh93 version available under HP-UX 11, provided that
    > CDE is installed: /usr/dt/bin/dtksh. It's an extended ksh93 that allows
    > writing scripts with an X11 interface. But it can be used like a standard
    > ksh93, although it's not the latest version.
    >
    > But be aware that ksh93 has a limitation on array elements, too. From the
    > man page:
    >
    > "The value of all subscripts must be in the range of 0 through 4095."
    >
    > Lothar
    > --
    > Lothar Paltins lpnews001@onlinehome.de

    It seems that the desktop Korn shell 'dtksh' is more modern than the
    ksh. You may also want to use the Posix shell (/usr/bin/sh).

    Bo

    -- 
    Professor Dr. Bo Thidé, Head of Programme      http://www.physics.irfu.se/~bt
    Swedish Institute of Space Physics (IRF),   P.O. Box 537,   SE-752 21 Uppsala
    Phone:    018-471 59 14    Fax: 018-471 59 05     Mobile Phone: 0705-61 36 70
    Visiting adress: Ångström Laboratory, Room #14144, Lägerhyddsvägen 1, Uppsala
    LOIS Space Centre, MSI, SE-351 95 Växjö       http://www.physics.irfu.se/LOIS
    

  • Next message: Shashank: "Re: gcc 2.96"