Bourne Shell: Difference between revisions

From Rosetta Code
Content added Content deleted
m (add wikipedia link)
(Definition and hashbang)
Line 1: Line 1:
{{language}}{{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.

{{implementation|UNIX Shell}}The [[wp:bourne shell|'''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)
{{implementation|UNIX Shell}}The [[wp:bourne shell|'''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 like this:
A Bourne Shell script begins with a [[hashbang]] like this, that tells the operating system to use the Bourne compatible shell interpreter:


#!/bin/sh
#!/bin/sh

This specifies which binary to use to interpret the script.


[[wp:Computerworld|Computerworld]] just published an in-depth interview with Steve Bourne
[[wp:Computerworld|Computerworld]] just published an in-depth interview with Steve Bourne

Revision as of 20:48, 6 October 2010

Language
Bourne Shell
This programming language may be used to instruct a computer to perform a task.
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Bourne Shell.
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.