Bourne Shell: Difference between revisions

From Rosetta Code
Content added Content deleted
(Definition and hashbang)
(Delete {{language}} from this page, because it is not a category and will not get examples. The examples go instead to Category:UNIX Shell.)
Line 1: Line 1:
{{language}}{{stub}}
{{stub}}


'''Portable Shell Syntax''' is the scripting language syntax used by the System V Bourne shell. This syntax is compatible with the heirloom shell and is the syntax documented in most Unix books.
'''Portable Shell Syntax''' is the scripting language syntax used by the System V Bourne shell. This syntax is compatible with the heirloom shell and is the syntax documented in most Unix books.

Revision as of 02:06, 20 January 2011

This page is a stub. It needs more information! You can help Rosetta Code by filling it in!

Portable Shell Syntax is the scripting language syntax used by the System V Bourne shell. This syntax is compatible with the heirloom shell and is the syntax documented in most Unix books.

Bourne Shell is an implementation of UNIX Shell. Other implementations of UNIX Shell.

The Bourne Shell is a UNIX shell upon which many shells are based; notably ksh and bash. (The other major tree of UNIX shells descend from csh)

A Bourne Shell script begins with a hashbang like this, that tells the operating system to use the Bourne compatible shell interpreter:

#!/bin/sh

Computerworld just published an in-depth interview with Steve Bourne The A-Z of Programming Languages: Bourne shell, or sh which details the Bourne shell origins and design decisions.