Bourne Shell: Difference between revisions
Content deleted Content added
Delete {{language}} from this page, because it is not a category and will not get examples. The examples go instead to Category:UNIX Shell. |
changed "hashbang" to shebang, moved impl box to top, added a couple links, some rephrasing and rearranging |
||
Line 1: | Line 1: | ||
{{stub}} |
{{stub}}{{implementation|UNIX Shell}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
A Bourne Shell script begins with a [[ |
A Bourne Shell script begins with a [[wp:shebang (Unix)|shebang]] (also known as a ''hashbang'') like this, which tells the operating system to use the Bourne compatible shell interpreter: |
||
#!/bin/sh |
#!/bin/sh |
||
[[wp:Computerworld|Computerworld]] |
In 2009, [[wp:Computerworld|Computerworld]] published an in-depth interview with Steve Bourne, ''[http://www.computerworld.com.au/article/279011/a-z_programming_languages_bourne_shell_sh/ The A-Z of Programming Languages: Bourne shell, or sh]'', which details the Bourne shell origins and design decisions. |
||
''[http://www.computerworld.com.au/article/279011/-z_programming_languages_bourne_shell_sh The A-Z of Programming Languages: Bourne shell, or sh]'' which details the Bourne shell origins and design decisions. |
Revision as of 14:05, 9 August 2011
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 the Korn shell and Bourne Again SHell. (The other major tree of Unix shells descend from csh.)
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.
A Bourne Shell script begins with a shebang (also known as a hashbang) like this, which tells the operating system to use the Bourne compatible shell interpreter:
#!/bin/sh
In 2009, Computerworld 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.