http://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&feed=atom&action=historyBourne shell script - Revision history2024-03-28T10:46:12ZRevision history for this page on the wikiMediaWiki 1.19.2http://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=47413&oldid=prevSembiance: Added sample files2023-12-28T15:00:23Z<p>Added sample files</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:00, 28 December 2023</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 14:</td>
<td colspan="2" class="diff-lineno">Line 14:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Batch file]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Batch file]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[C shell script]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[C shell script]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">== Sample files ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* {{DexvertSamples|text/unixShellScript}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Links ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Links ==</div></td></tr>
</table>Sembiancehttp://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=27389&oldid=prevDan Tobias: /* Links */2017-03-15T00:54:17Z<p><span dir="auto"><span class="autocomment">Links</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 00:54, 15 March 2017</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 20:</td>
<td colspan="2" class="diff-lineno">Line 20:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://www.grymoire.com/Unix/Sh.html Bourne shell tutorial]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://www.grymoire.com/Unix/Sh.html Bourne shell tutorial]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://explainshell.com/ Explainshell: gives help info on a particular command and its arguments]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://explainshell.com/ Explainshell: gives help info on a particular command and its arguments]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* [https://dev.to/thiht/shell-scripts-matter Shell Scripts Matter]</ins></div></td></tr>
</table>Dan Tobiashttp://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=26408&oldid=prevJsummers: /* See also */2016-09-12T13:49:44Z<p><span dir="auto"><span class="autocomment">See also</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 13:49, 12 September 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 13:</td>
<td colspan="2" class="diff-lineno">Line 13:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==See also==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==See also==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Batch file]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Batch file]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* [[C shell script]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Links ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Links ==</div></td></tr>
</table>Jsummershttp://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=26402&oldid=prevJsummers at 13:35, 12 September 20162016-09-12T13:35:31Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 13:35, 12 September 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|formattype=Languages</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|formattype=Languages</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|subcat=Programming Languages</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|subcat=Programming Languages</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>|extensions={{ext|sh}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>|extensions={{ext|sh<ins class="diffchange diffchange-inline">}}, {{noext</ins>}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|released=1977</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|released=1977</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>}}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>}}</div></td></tr>
</table>Jsummershttp://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=25767&oldid=prevJsummers at 20:46, 17 May 20162016-05-17T20:46:16Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 20:46, 17 May 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>A shell script is the Unix-style OS (Unix, Linux, OS X, etc.) version of what is known as a [[batch file]] in DOS/Windows systems, but has more sophisticated programming constructs, permitting very elaborate logic.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>A shell script is the Unix-style OS (Unix, Linux, OS X, etc.) version of what is known as a [[batch file]] in DOS/Windows systems, but has more sophisticated programming constructs, permitting very elaborate logic.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Shell scripts will typically have a '''.sh''' file extension and '''#!/bin/sh''' as their first line (pointing at the path to the shell, of which /bin/sh is the traditional value, often symlinked to an actual program path somewhere else in the directory structure)<del class="diffchange diffchange-inline">. It is common in general for files containing code to be executed in a scripting language (especially on Unix-style systems, but sometimes appearing on other platforms as well) to begin with a line of this form starting with '''#!''' followed by the path to the interpreter. Various shell scripts, as well as [[Perl]], etc., can be found with such a header</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Shell scripts will typically have a '''.sh''' file extension and '''#!/bin/sh''' <ins class="diffchange diffchange-inline">(see [[Shebang]]) </ins>as their first line (pointing at the path to the shell, of which /bin/sh is the traditional value, often symlinked to an actual program path somewhere else in the directory structure).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==See also==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==See also==</div></td></tr>
</table>Jsummershttp://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=21586&oldid=prevVolodyA! V Anarhist: see also2015-04-18T12:12:22Z<p>see also</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:12, 18 April 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 10:</td>
<td colspan="2" class="diff-lineno">Line 10:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Shell scripts will typically have a '''.sh''' file extension and '''#!/bin/sh''' as their first line (pointing at the path to the shell, of which /bin/sh is the traditional value, often symlinked to an actual program path somewhere else in the directory structure). It is common in general for files containing code to be executed in a scripting language (especially on Unix-style systems, but sometimes appearing on other platforms as well) to begin with a line of this form starting with '''#!''' followed by the path to the interpreter. Various shell scripts, as well as [[Perl]], etc., can be found with such a header.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Shell scripts will typically have a '''.sh''' file extension and '''#!/bin/sh''' as their first line (pointing at the path to the shell, of which /bin/sh is the traditional value, often symlinked to an actual program path somewhere else in the directory structure). It is common in general for files containing code to be executed in a scripting language (especially on Unix-style systems, but sometimes appearing on other platforms as well) to begin with a line of this form starting with '''#!''' followed by the path to the interpreter. Various shell scripts, as well as [[Perl]], etc., can be found with such a header.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==See also==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* [[Batch file]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Links ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Links ==</div></td></tr>
</table>VolodyA! V Anarhisthttp://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=20711&oldid=prevDan Tobias at 22:57, 25 January 20152015-01-25T22:57:55Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 22:57, 25 January 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|released=1977</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|released=1977</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>}}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>A '''Bourne shell script''' is a text file intended to be executed as a set of commands for the Bourne shell, which is a shell (command line interpreter) for [[Unix]]-style operating systems. While a number of other shells exist for such operating systems, the Bourne shell (and descendants such as Bash) has been the normal default since Version 7 Unix in 1977, so it is what most computer people think of when discussing "Unix commands".</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>A '''Bourne shell script''' is a text file intended to be executed as a set of commands for the Bourne shell, which is a shell (command line interpreter) for [[Unix]]-style operating systems. While a number of other shells exist for such operating systems, the Bourne shell (and descendants such as Bash) has been the normal default since Version 7 Unix in 1977, so it is what most computer people think of when discussing "Unix commands".</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Dan Tobiashttp://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=15006&oldid=prevDan Tobias: /* Links */2013-12-05T05:23:29Z<p><span dir="auto"><span class="autocomment">Links</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 05:23, 5 December 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 16:</td>
<td colspan="2" class="diff-lineno">Line 16:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://steve-parker.org/sh/bourne.shtml 1978 Bourne shell documentation]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://steve-parker.org/sh/bourne.shtml 1978 Bourne shell documentation]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://www.grymoire.com/Unix/Sh.html Bourne shell tutorial]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://www.grymoire.com/Unix/Sh.html Bourne shell tutorial]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* [http://explainshell.com/ Explainshell: gives help info on a particular command and its arguments]</ins></div></td></tr>
</table>Dan Tobiashttp://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=9728&oldid=prevDan Tobias at 14:48, 16 February 20132013-02-16T14:48:08Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:48, 16 February 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 6:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>}}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>A '''Bourne shell script''' is a text file intended to be executed as a set of commands for the Bourne shell, which is a shell (command line interpreter) for Unix-style operating systems. While a number of other shells exist for such operating systems, the Bourne shell (and descendants such as Bash) has been the normal default since Version 7 Unix in 1977, so it is what most computer people think of when discussing "Unix commands".</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>A '''Bourne shell script''' is a text file intended to be executed as a set of commands for the Bourne shell, which is a shell (command line interpreter) for <ins class="diffchange diffchange-inline">[[</ins>Unix<ins class="diffchange diffchange-inline">]]</ins>-style operating systems. While a number of other shells exist for such operating systems, the Bourne shell (and descendants such as Bash) has been the normal default since Version 7 Unix in 1977, so it is what most computer people think of when discussing "Unix commands".</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>A shell script is the Unix-style (Unix, Linux, OS X, etc.) <del class="diffchange diffchange-inline">OS </del>version of what is known as a [[batch file]] in DOS/Windows systems, but has more sophisticated programming constructs, permitting very elaborate logic.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>A shell script is the Unix-style <ins class="diffchange diffchange-inline">OS </ins>(Unix, Linux, OS X, etc.) version of what is known as a [[batch file]] in DOS/Windows systems, but has more sophisticated programming constructs, permitting very elaborate logic.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Shell scripts will typically have a '''.sh''' file extension and '''#!/bin/sh''' as their first line (pointing at the path to the shell, of which /bin/sh is the traditional value, often symlinked to an actual program path somewhere else in the directory structure). It is common in general for files containing code to be executed in a scripting language (especially on Unix-style systems, but sometimes appearing on other platforms as well) to begin with a line of this form starting with '''#!''' followed by the path to the interpreter. Various shell scripts, as well as [[Perl]], etc., can be found with such a header.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Shell scripts will typically have a '''.sh''' file extension and '''#!/bin/sh''' as their first line (pointing at the path to the shell, of which /bin/sh is the traditional value, often symlinked to an actual program path somewhere else in the directory structure). It is common in general for files containing code to be executed in a scripting language (especially on Unix-style systems, but sometimes appearing on other platforms as well) to begin with a line of this form starting with '''#!''' followed by the path to the interpreter. Various shell scripts, as well as [[Perl]], etc., can be found with such a header.</div></td></tr>
</table>Dan Tobiashttp://fileformats.archiveteam.org/index.php?title=Bourne_shell_script&diff=9727&oldid=prevDan Tobias at 14:43, 16 February 20132013-02-16T14:43:48Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:43, 16 February 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 10:</td>
<td colspan="2" class="diff-lineno">Line 10:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>A shell script is the Unix-style (Unix, Linux, OS X, etc.) OS version of what is known as a [[batch file]] in DOS/Windows systems, but has more sophisticated programming constructs, permitting very elaborate logic.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>A shell script is the Unix-style (Unix, Linux, OS X, etc.) OS version of what is known as a [[batch file]] in DOS/Windows systems, but has more sophisticated programming constructs, permitting very elaborate logic.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Shell scripts will typically have a '''.sh''' file extension and '''#!/bin/sh''' as their first line (pointing at the path to the shell, of which /bin/sh is the traditional value, often symlinked to an actual program path somewhere else in the directory structure).</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Shell scripts will typically have a '''.sh''' file extension and '''#!/bin/sh''' as their first line (pointing at the path to the shell, of which /bin/sh is the traditional value, often symlinked to an actual program path somewhere else in the directory structure)<ins class="diffchange diffchange-inline">. It is common in general for files containing code to be executed in a scripting language (especially on Unix-style systems, but sometimes appearing on other platforms as well) to begin with a line of this form starting with '''#!''' followed by the path to the interpreter. Various shell scripts, as well as [[Perl]], etc., can be found with such a header</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Links ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Links ==</div></td></tr>
</table>Dan Tobias