Jump to content

Bourne Shell: Difference between revisions

changed "hashbang" to shebang, moved impl box to top, added a couple links, some rephrasing and rearranging
(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:
{{stub}}{{implementation|UNIX Shell}}
 
{{implementation|UNIX Shell}}The '''[[wp:bourneBourne shellShell|'''Bourne Shell]]''']] is a UNIX[[Unix]] shell upon which many shells are based; notably kshthe [[wp:Korn shell|Korn shell]] and bash[[Bourne Again SHell]]. (The other major tree of UNIXUnix 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.
 
'''Portable Shell Syntax''' is the scripting language syntax used by the [[wp:UNIX System V|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)
 
A Bourne Shell script begins with a [[hashbangwp:shebang (Unix)|shebang]] (also known as a ''hashbang'') like this, thatwhich tells the operating system to use the Bourne compatible shell interpreter:
 
#!/bin/sh
 
In 2009, [[wp:Computerworld|Computerworld]] just 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.
1,150

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.