Korn Shell

Korn Shell

Post by Dylan Reinhol » Tue, 06 Mar 2001 11:05:25



I just installed freeBSD 4.2 stable...
How do I install ksh shell (Its the only shell ive written scripts in)

Thanks
Dylan

 
 
 

Korn Shell

Post by bruc.. » Tue, 06 Mar 2001 14:34:53


:
: How do I install ksh shell (Its the only shell ive written scripts in)
:
        Or you can use bash. It operates pretty much like ksh.
   I haven't encountered any differences between sh, ksh and bash
   scripts worth mention. Now, csh, ... :-)

                                                        Bruce
--
------------------------------------------------------------------------
  "I like bad!"                               Bruce Burden    Austin, TX.
        - Thuganlitha
        The Power and the Prophet
        Robert Don Hughes

 
 
 

Korn Shell

Post by Mitterwald, Holge » Tue, 06 Mar 2001 17:41:47


Hello Dylan,
look in the ports section. There should be a port "pdksh" (I think
/usr/ports/shells/pdksh)
Works fine.

Best regards,
   Holger


> I just installed freeBSD 4.2 stable...
> How do I install ksh shell (Its the only shell ive written scripts in)

 
 
 

Korn Shell

Post by Christian Weisgerb » Tue, 06 Mar 2001 17:44:36



> : How do I install ksh shell (Its the only shell ive written scripts in)
> :
>    Or you can use bash. It operates pretty much like ksh.

Please get a clue about shell scripting and shut up until then.
Thank you.

--

 
 
 

Korn Shell

Post by Christian Weisgerb » Tue, 06 Mar 2001 17:47:41



Quote:> cd /usr/ports/shells/ksh93

> According to the Makefile, you must register to download the tarball, via:

The ksh93 port was recently updated from fetching a pre-compiled
binary to building one from the source.  I certainly urge everybody
to use the new port.  As AT&T have upgraded the details of their
distribution policy, you don't need to register anymore to get the
source.  You still need to acknowledge the license when building,
though.

--

 
 
 

Korn Shell

Post by Eric Jacobon » Wed, 07 Mar 2001 02:53:43


Vid> zsh is much closer to ksh.  You can guess which shell I use ... ;)

If ksh compatibility is really an issue, why not using THE ksh ?

$ less /usr/ports/shells/ksh93/pkg-descr

KSH-93 is the most recent version of the KornShell Language described
in "The KornShell Command and Programming Language," by Morris
Bolsky and David Korn of AT&T Bell Laboratories.  The KornShell is
a shell programming language, which is upward compatible with "sh"
(the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO
9945.2 Shell and Utilities standard.  KSH-93 provides an enhanced
programming environment in addition to the major command-entry
features of the BSD shell "csh".  With KSH-93, medium-sized programming
tasks can be performed at shell-level without a significant loss
in performance.  In addition, "sh" scripts can be run on KSH-93
without modification.

WWW: http://www.kornshell.com/

$ echo $SHELL
/usr/local/bin/ksh93
--
ric Jacoboni, n il y a 1287174473 secondes.

 
 
 

Korn Shell

Post by bruc.. » Wed, 07 Mar 2001 14:52:48


:> : How do I install ksh shell (Its the only shell ive written scripts in)
:> :
:>   Or you can use bash. It operates pretty much like ksh.

: Please get a clue about shell scripting and shut up until then.
: Thank you.
:
        Were you attempting to communicate, or simply demonstrating
   that you are a very large *? If the former, you failed.
   Miserably. If the latter, no furthur demonstrations are required.
   You were quite successful.

                                                        Bruce
--
------------------------------------------------------------------------
  "I like bad!"                               Bruce Burden    Austin, TX.
        - Thuganlitha
        The Power and the Prophet
        Robert Don Hughes