| iMatix home page
| Libero home page | Libero documentation
| << | < | > | >>
Libero Libero
Version 2.32

 

The UNIX Korn Shell Language

Overview

What Is Korn Shell?
The Korn shell (/bin/ksh) is the most advanced 'standard' UNIX shell. It extends the Bourne shell with lots of nice features, and is a lot faster.
Portability
The Korn shell is standard when available, but is not supplied on all UNIX boxes.
Pros and Cons
Pros: supplied on most UNIXes; your scripts will run quickly. Cons: like all shells, slower than Awk or Perl or C.
How To Get It
Korn shell is available in a public-domain version (by Eric Baalberger) for Linux.

Working With The UNIX Korn Shell

Example of code

Code fragments:

#################   MODULE FUNCTION NAME   #################

function module_function_name
{
    return                      # Empty module needs 'return'
}

function private_function_name {
    the_next_event=$ok_event
    raise_exception $error_event
}

A fuller example.

See also: Note on UNIX shells.


| << | < | > | >>
| Libero's Languages | The Awk Language | The C Language | The C++ Language | The COBOL Language | The GNU Borne-Again Shell Language | The Java Language | The Microsoft Setup Basic Language | The MS Visual Basic Language | The Perl Language | The Rexx Language | The UNIX C Shell Language | The UNIX Bourne Shell Language | The UNIX Korn Shell Language | The 80x86 Assembler Language
iMatix
Copyright © 1996-97 iMatix