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

 

The UNIX Bourne Shell Language

Overview

What Is Bourne Shell?
The Bourne shell (/bin/sh) is the original UNIX shell. It is basic and slow. Most systems provided an extended version that supports functions.
Portability
There are at least two flavours of Bourne shell; with and without functions. The simplest is portable to probably all UNIX systems; the extended Bourne shell to most UNIX systems (I know only one that does not provide it: NeXT.
Pros and Cons
Pros: Most standard shell. Cons: functionally poor; like all shells, slower than Awk or Perl or C.
How To Get It
Should be installed on your UNIX system.

Working With The UNIX Bourne Shell

Example of code

Code fragments:

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

module_function_name ()
{
    return                      # Empty module needs 'return'
}

private_function_name ()
{
    the_next_event=$ok_event
    raise_exception $error_event
}

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