https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Unix-Shell Unix-Shell - Versionsgeschichte 2025-07-25T05:35:55Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.45.0-wmf.11 https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=255046189&oldid=prev Stepwiz: /* Die Kornshell */ code tags 2025-04-11T12:39:44Z <p><span class="autocomment">Die Kornshell: </span> code tags</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 11. April 2025, 14:39 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 116:</td> <td colspan="2" class="diff-lineno">Zeile 116:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Hauptartikel|Kornshell}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Hauptartikel|Kornshell}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>David Korn entwickelte für Unix [[System V]] von [[AT&amp;T]] die Kornshell '''(ksh).''' Diese orientiert sich an der Bourne-Shell, übernimmt aber auch die Neuerungen der C-Shell wie [[Job control]], eine weiter verbesserte Kommandozeileneditierung. Es existiert eine Version von 1988 ''(ksh88)'' und eine neuere von 1993 ''(ksh93).'' Die ''ksh88'' ist Grundlage des [[Portable Operating System Interface|POSIX]]-Standards, die neueren Erweiterungen <del style="font-weight: bold; text-decoration: none;">''</del>select<del style="font-weight: bold; text-decoration: none;">''</del>, <del style="font-weight: bold; text-decoration: none;">''</del>function<del style="font-weight: bold; text-decoration: none;">''</del> und <del style="font-weight: bold; text-decoration: none;">''</del>&lt;<del style="font-weight: bold; text-decoration: none;">nowiki</del>&gt;[[&lt;/<del style="font-weight: bold; text-decoration: none;">nowiki</del>&gt;<del style="font-weight: bold; text-decoration: none;">''</del> gegenüber der Bourne-Shell sind aber ausdrücklich als undefiniert gekennzeichnet.&lt;ref&gt;[https://pubs.opengroup.org/onlinepubs/9695969399/toc.pdf X/Open CAE Specification (1994), Commands and Utilities Issue 4, Version 2 (IEEE Std 1003.2-1992)] Seite 26&lt;/ref&gt; Die Korn-Shell war als Teil von Unix System V lange Zeit nur kommerziell erhältlich. Seit dem 1. März 2000 ist der Quelltext von ''ksh93'' frei verfügbar. Viele kommerzielle Unix-Systeme verwenden die ''ksh'' als Standard-Shell ''(/bin/sh).''</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>David Korn entwickelte für Unix [[System V]] von [[AT&amp;T]] die Kornshell '''(ksh).''' Diese orientiert sich an der Bourne-Shell, übernimmt aber auch die Neuerungen der C-Shell wie [[Job control]], eine weiter verbesserte Kommandozeileneditierung. Es existiert eine Version von 1988 ''(ksh88)'' und eine neuere von 1993 ''(ksh93).'' Die ''ksh88'' ist Grundlage des [[Portable Operating System Interface|POSIX]]-Standards, die neueren Erweiterungen <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>select<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins>, <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;</ins>function<ins style="font-weight: bold; text-decoration: none;">&lt;/code&gt;</ins> und &lt;<ins style="font-weight: bold; text-decoration: none;">code</ins>&gt;[[&lt;/<ins style="font-weight: bold; text-decoration: none;">code</ins>&gt; gegenüber der Bourne-Shell sind aber ausdrücklich als undefiniert gekennzeichnet.&lt;ref&gt;[https://pubs.opengroup.org/onlinepubs/9695969399/toc.pdf X/Open CAE Specification (1994), Commands and Utilities Issue 4, Version 2 (IEEE Std 1003.2-1992)] Seite 26&lt;/ref&gt; Die Korn-Shell war als Teil von Unix System V lange Zeit nur kommerziell erhältlich. Seit dem 1. März 2000 ist der Quelltext von ''ksh93'' frei verfügbar. Viele kommerzielle Unix-Systeme verwenden die ''ksh'' als Standard-Shell ''(/bin/sh).''</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Die '''dtksh''' („Desktop Korn Shell“) stellt eine Korn-Shell mit zusätzlichen Kommandos für die Programmierung von Benutzeroberflächen unter [[X Window System|X11]]/[[Motif]] dar.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Die '''dtksh''' („Desktop Korn Shell“) stellt eine Korn-Shell mit zusätzlichen Kommandos für die Programmierung von Benutzeroberflächen unter [[X Window System|X11]]/[[Motif]] dar.</div></td> </tr> </table> Stepwiz https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=255037297&oldid=prev Y2kbug: /* Allgemeines */ Form 2025-04-11T05:34:09Z <p><span class="autocomment">Allgemeines: </span> Form</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 11. April 2025, 07:34 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 31:</td> <td colspan="2" class="diff-lineno">Zeile 31:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Eingebautes Kommando zum Testen von Dateieigenschaften (&lt;code&gt;test&lt;/code&gt;)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Eingebautes Kommando zum Testen von Dateieigenschaften (&lt;code&gt;test&lt;/code&gt;)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Hinsichtlich des Abbruchs eines Kommandos machen sich die Shells die Eigenschaften des zugrundeliegenden Terminal-Gerätetreibers zunutze. Die Shell wartet normalerweise auf das Ende eines Kommandos. {{Taste|Strg}}+{{Taste|C}} bewirkt unter Unix einen Kommandoabbruch, den der Gerätetreiber auslöst.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Hinsichtlich des Abbruchs eines Kommandos machen sich die Shells die Eigenschaften des zugrundeliegenden Terminal-Gerätetreibers zunutze. Die Shell wartet normalerweise auf das Ende eines Kommandos. {{Taste<ins style="font-weight: bold; text-decoration: none;">|[[Steuerungstaste</ins>|Strg<ins style="font-weight: bold; text-decoration: none;">]]|halten</ins>}}+{{Taste|C}} bewirkt unter Unix einen Kommandoabbruch, den der Gerätetreiber auslöst.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Unix-Werkzeuge ===</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Unix-Werkzeuge ===</div></td> </tr> </table> Y2kbug https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=255037132&oldid=prev Thomas Dresler: Commonscat mit Helferlein hinzugefügt 2025-04-11T05:24:22Z <p>Commonscat mit <a href="/wiki/Benutzer:Wurgl/8Schwestern" title="Benutzer:Wurgl/8Schwestern">Helferlein</a> hinzugefügt</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 11. April 2025, 07:24 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 199:</td> <td colspan="2" class="diff-lineno">Zeile 199:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{Commonscat|Unix shells|Unix-Shell}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Wikibooks|Linux-Praxisbuch/ Shellprogrammierung|Linux-Praxisbuch: Shellprogrammierung}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Wikibooks|Linux-Praxisbuch/ Shellprogrammierung|Linux-Praxisbuch: Shellprogrammierung}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* {{Internetquelle |autor= |url=https://swcarpentry.github.io/shell-novice/aio.html |titel=The Unix Shell |werk=swcarpentry.github.io |sprache=en |abruf=2024-02-08 |abruf-verborgen=1 |kommentar=umfangreiche Einführung}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* {{Internetquelle |autor= |url=https://swcarpentry.github.io/shell-novice/aio.html |titel=The Unix Shell |werk=swcarpentry.github.io |sprache=en |abruf=2024-02-08 |abruf-verborgen=1 |kommentar=umfangreiche Einführung}}</div></td> </tr> </table> Thomas Dresler https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=255037125&oldid=prev Thomas Dresler: Format 2025-04-11T05:23:57Z <p>Format</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 11. April 2025, 07:23 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 116:</td> <td colspan="2" class="diff-lineno">Zeile 116:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Hauptartikel|Kornshell}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Hauptartikel|Kornshell}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>David Korn entwickelte für Unix [[System V]] von [[AT&amp;T]] die Kornshell '''(ksh).''' Diese orientiert sich an der Bourne-Shell, übernimmt aber auch die Neuerungen der C-Shell wie [[Job control]], eine weiter verbesserte Kommandozeileneditierung. Es existiert eine Version von 1988 ''(ksh88)'' und eine neuere von 1993 ''(ksh93).'' Die ''ksh88'' ist Grundlage des [[Portable Operating System Interface|POSIX]]-Standards, die neueren Erweiterungen ''select'', ''function'' und ''[['' gegenüber der Bourne-Shell sind aber ausdrücklich als undefiniert gekennzeichnet.&lt;ref&gt;[https://pubs.opengroup.org/onlinepubs/9695969399/toc.pdf X/Open CAE Specification (1994), Commands and Utilities Issue 4, Version 2 (IEEE Std 1003.2-1992)] Seite 26&lt;/ref&gt; Die Korn-Shell war als Teil von Unix System V lange Zeit nur kommerziell erhältlich. Seit dem 1. März 2000 ist der Quelltext von ''ksh93'' frei verfügbar. Viele kommerzielle Unix-Systeme verwenden die ''ksh'' als Standard-Shell ''(/bin/sh).''</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>David Korn entwickelte für Unix [[System V]] von [[AT&amp;T]] die Kornshell '''(ksh).''' Diese orientiert sich an der Bourne-Shell, übernimmt aber auch die Neuerungen der C-Shell wie [[Job control]], eine weiter verbesserte Kommandozeileneditierung. Es existiert eine Version von 1988 ''(ksh88)'' und eine neuere von 1993 ''(ksh93).'' Die ''ksh88'' ist Grundlage des [[Portable Operating System Interface|POSIX]]-Standards, die neueren Erweiterungen ''select'', ''function'' und ''<ins style="font-weight: bold; text-decoration: none;">&lt;nowiki&gt;</ins>[[<ins style="font-weight: bold; text-decoration: none;">&lt;/nowiki&gt;</ins>'' gegenüber der Bourne-Shell sind aber ausdrücklich als undefiniert gekennzeichnet.&lt;ref&gt;[https://pubs.opengroup.org/onlinepubs/9695969399/toc.pdf X/Open CAE Specification (1994), Commands and Utilities Issue 4, Version 2 (IEEE Std 1003.2-1992)] Seite 26&lt;/ref&gt; Die Korn-Shell war als Teil von Unix System V lange Zeit nur kommerziell erhältlich. Seit dem 1. März 2000 ist der Quelltext von ''ksh93'' frei verfügbar. Viele kommerzielle Unix-Systeme verwenden die ''ksh'' als Standard-Shell ''(/bin/sh).''</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Die '''dtksh''' („Desktop Korn Shell“) stellt eine Korn-Shell mit zusätzlichen Kommandos für die Programmierung von Benutzeroberflächen unter [[X Window System|X11]]/[[Motif]] dar.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Die '''dtksh''' („Desktop Korn Shell“) stellt eine Korn-Shell mit zusätzlichen Kommandos für die Programmierung von Benutzeroberflächen unter [[X Window System|X11]]/[[Motif]] dar.</div></td> </tr> </table> Thomas Dresler https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=255034439&oldid=prev Stepwiz: ksh88 ist nicht POSIX sh 2025-04-11T00:23:02Z <p>ksh88 ist nicht POSIX sh</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 11. April 2025, 02:23 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 81:</td> <td colspan="2" class="diff-lineno">Zeile 81:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Im Lauf der Zeit wurde die ursprüngliche Version erweitert und verändert. Da die Bourne-Shell nie eine sichtbare Versionierung erfuhr, ist die jeweilige Variante nur durch Testen der vorhandenen Eigenschaften herauszufinden. Die Bezeichnung ergibt sich dann mit der Variante des AT&amp;T Unix, mit dem sie ausgeliefert wurde (V7, System III, System V Release 1 – kurz SVR1, SVR2, -3, -4, -4.2).</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Im Lauf der Zeit wurde die ursprüngliche Version erweitert und verändert. Da die Bourne-Shell nie eine sichtbare Versionierung erfuhr, ist die jeweilige Variante nur durch Testen der vorhandenen Eigenschaften herauszufinden. Die Bezeichnung ergibt sich dann mit der Variante des AT&amp;T Unix, mit dem sie ausgeliefert wurde (V7, System III, System V Release 1 – kurz SVR1, SVR2, -3, -4, -4.2).</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Die Bourne-Shell-Syntax ist Grundlage der meisten modernen Unix-Shells, die im Wesentlichen eine Erweiterung dieser Shell darstellen. Skripte für die Bourne-Shell sind praktisch ohne Änderung auch auf diesen Shells lauffähig. Die Skriptfähigkeiten der Bourne-Shell waren richtungsweisend, und sh ist bis heute eine der beliebtesten Skriptsprachen für Unix. Aus diesem Grund und zwecks Rückwärtskompatibilität liegt generell eine Bourne-kompatible Shell als &lt;span style="font-family:monospace;"&gt;/bin/sh&lt;/span&gt; vor.<del style="font-weight: bold; text-decoration: none;"> Die ''sh'' ist Grundlage des [[Portable Operating System Interface|POSIX]]-Standards. </del></div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Die Bourne-Shell-Syntax ist Grundlage der meisten modernen Unix-Shells, die im Wesentlichen eine Erweiterung dieser Shell darstellen. Skripte für die Bourne-Shell sind praktisch ohne Änderung auch auf diesen Shells lauffähig. Die Skriptfähigkeiten der Bourne-Shell waren richtungsweisend, und sh ist bis heute eine der beliebtesten Skriptsprachen für Unix. Aus diesem Grund und zwecks Rückwärtskompatibilität liegt generell eine Bourne-kompatible Shell als &lt;span style="font-family:monospace;"&gt;/bin/sh&lt;/span&gt; vor.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Seit die OpenSolaris/SVR4-Variante der Bourne-Shell von Sun als [[Open Source]] veröffentlicht wurde, ist diese Shell dank eines Umbaus der Speicherverwaltung von &lt;code&gt;sbrk(2)&lt;/code&gt; auf &lt;code&gt;malloc(3)&lt;/code&gt; durch [[Jörg Schilling]] mittlerweile für nahezu alle Plattformen verfügbar. Ein Derivat der Bourne-Shell („POSIX-Shell“) ist die Standardshell für neue Benutzerkonten in [[FreeBSD]].&lt;ref&gt;{{Literatur |Autor=Michael Urban, Brian Tiemann |Titel=Sams teach yourself FreeBSD in 24 hours |Verlag=Sams Publishing |Datum=2002 |ISBN=978-0-672-32424-6 |Seiten=56 |Online={{Google Buch|BuchID=LyDP5b2xzaMC|Seite=56}}}}&lt;/ref&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Seit die OpenSolaris/SVR4-Variante der Bourne-Shell von Sun als [[Open Source]] veröffentlicht wurde, ist diese Shell dank eines Umbaus der Speicherverwaltung von &lt;code&gt;sbrk(2)&lt;/code&gt; auf &lt;code&gt;malloc(3)&lt;/code&gt; durch [[Jörg Schilling]] mittlerweile für nahezu alle Plattformen verfügbar. Ein Derivat der Bourne-Shell („POSIX-Shell“) ist die Standardshell für neue Benutzerkonten in [[FreeBSD]].&lt;ref&gt;{{Literatur |Autor=Michael Urban, Brian Tiemann |Titel=Sams teach yourself FreeBSD in 24 hours |Verlag=Sams Publishing |Datum=2002 |ISBN=978-0-672-32424-6 |Seiten=56 |Online={{Google Buch|BuchID=LyDP5b2xzaMC|Seite=56}}}}&lt;/ref&gt;</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 116:</td> <td colspan="2" class="diff-lineno">Zeile 116:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Hauptartikel|Kornshell}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Hauptartikel|Kornshell}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>David Korn entwickelte für Unix [[System V]] von [[AT&amp;T]] die Kornshell '''(ksh).''' Diese orientiert sich an der Bourne-Shell, übernimmt aber auch die Neuerungen der C-Shell wie [[Job control]], eine weiter verbesserte Kommandozeileneditierung. Es existiert eine Version von 1988 ''(ksh88)'' und eine neuere von 1993 ''(ksh93).'' Die Korn-Shell war als Teil von Unix System V lange Zeit nur kommerziell erhältlich. Seit dem 1. März 2000 ist der Quelltext von ''ksh93'' frei verfügbar. Viele kommerzielle Unix-Systeme verwenden die ''ksh'' als Standard-Shell ''(/bin/sh).''</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>David Korn entwickelte für Unix [[System V]] von [[AT&amp;T]] die Kornshell '''(ksh).''' Diese orientiert sich an der Bourne-Shell, übernimmt aber auch die Neuerungen der C-Shell wie [[Job control]], eine weiter verbesserte Kommandozeileneditierung. Es existiert eine Version von 1988 ''(ksh88)'' und eine neuere von 1993 ''(ksh93).''<ins style="font-weight: bold; text-decoration: none;"> Die ''ksh88'' ist Grundlage des [[Portable Operating System Interface|POSIX]]-Standards, die neueren Erweiterungen ''select'', ''function'' und ''[['' gegenüber der Bourne-Shell sind aber ausdrücklich als undefiniert gekennzeichnet.&lt;ref&gt;[https://pubs.opengroup.org/onlinepubs/9695969399/toc.pdf X/Open CAE Specification (1994), Commands and Utilities Issue 4, Version 2 (IEEE Std 1003.2-1992)] Seite 26&lt;/ref&gt;</ins> Die Korn-Shell war als Teil von Unix System V lange Zeit nur kommerziell erhältlich. Seit dem 1. März 2000 ist der Quelltext von ''ksh93'' frei verfügbar. Viele kommerzielle Unix-Systeme verwenden die ''ksh'' als Standard-Shell ''(/bin/sh).''</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Die '''dtksh''' („Desktop Korn Shell“) stellt eine Korn-Shell mit zusätzlichen Kommandos für die Programmierung von Benutzeroberflächen unter [[X Window System|X11]]/[[Motif]] dar.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Die '''dtksh''' („Desktop Korn Shell“) stellt eine Korn-Shell mit zusätzlichen Kommandos für die Programmierung von Benutzeroberflächen unter [[X Window System|X11]]/[[Motif]] dar.</div></td> </tr> </table> Stepwiz https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=255033959&oldid=prev Stepwiz: bourne shell ist Grundlage für posix shell nicht ksh88 (hat z.B. schon [[) 2025-04-10T23:03:22Z <p>bourne shell ist Grundlage für posix shell nicht ksh88 (hat z.B. schon [[)</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 11. April 2025, 01:03 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 81:</td> <td colspan="2" class="diff-lineno">Zeile 81:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Im Lauf der Zeit wurde die ursprüngliche Version erweitert und verändert. Da die Bourne-Shell nie eine sichtbare Versionierung erfuhr, ist die jeweilige Variante nur durch Testen der vorhandenen Eigenschaften herauszufinden. Die Bezeichnung ergibt sich dann mit der Variante des AT&amp;T Unix, mit dem sie ausgeliefert wurde (V7, System III, System V Release 1 – kurz SVR1, SVR2, -3, -4, -4.2).</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Im Lauf der Zeit wurde die ursprüngliche Version erweitert und verändert. Da die Bourne-Shell nie eine sichtbare Versionierung erfuhr, ist die jeweilige Variante nur durch Testen der vorhandenen Eigenschaften herauszufinden. Die Bezeichnung ergibt sich dann mit der Variante des AT&amp;T Unix, mit dem sie ausgeliefert wurde (V7, System III, System V Release 1 – kurz SVR1, SVR2, -3, -4, -4.2).</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Die Bourne-Shell-Syntax ist Grundlage der meisten modernen Unix-Shells, die im Wesentlichen eine Erweiterung dieser Shell darstellen. Skripte für die Bourne-Shell sind praktisch ohne Änderung auch auf diesen Shells lauffähig. Die Skriptfähigkeiten der Bourne-Shell waren richtungsweisend, und sh ist bis heute eine der beliebtesten Skriptsprachen für Unix. Aus diesem Grund und zwecks Rückwärtskompatibilität liegt generell eine Bourne-kompatible Shell als &lt;span style="font-family:monospace;"&gt;/bin/sh&lt;/span&gt; vor.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Die Bourne-Shell-Syntax ist Grundlage der meisten modernen Unix-Shells, die im Wesentlichen eine Erweiterung dieser Shell darstellen. Skripte für die Bourne-Shell sind praktisch ohne Änderung auch auf diesen Shells lauffähig. Die Skriptfähigkeiten der Bourne-Shell waren richtungsweisend, und sh ist bis heute eine der beliebtesten Skriptsprachen für Unix. Aus diesem Grund und zwecks Rückwärtskompatibilität liegt generell eine Bourne-kompatible Shell als &lt;span style="font-family:monospace;"&gt;/bin/sh&lt;/span&gt; vor.<ins style="font-weight: bold; text-decoration: none;"> Die ''sh'' ist Grundlage des [[Portable Operating System Interface|POSIX]]-Standards. </ins></div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Seit die OpenSolaris/SVR4-Variante der Bourne-Shell von Sun als [[Open Source]] veröffentlicht wurde, ist diese Shell dank eines Umbaus der Speicherverwaltung von &lt;code&gt;sbrk(2)&lt;/code&gt; auf &lt;code&gt;malloc(3)&lt;/code&gt; durch [[Jörg Schilling]] mittlerweile für nahezu alle Plattformen verfügbar. Ein Derivat der Bourne-Shell („POSIX-Shell“) ist die Standardshell für neue Benutzerkonten in [[FreeBSD]].&lt;ref&gt;{{Literatur |Autor=Michael Urban, Brian Tiemann |Titel=Sams teach yourself FreeBSD in 24 hours |Verlag=Sams Publishing |Datum=2002 |ISBN=978-0-672-32424-6 |Seiten=56 |Online={{Google Buch|BuchID=LyDP5b2xzaMC|Seite=56}}}}&lt;/ref&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Seit die OpenSolaris/SVR4-Variante der Bourne-Shell von Sun als [[Open Source]] veröffentlicht wurde, ist diese Shell dank eines Umbaus der Speicherverwaltung von &lt;code&gt;sbrk(2)&lt;/code&gt; auf &lt;code&gt;malloc(3)&lt;/code&gt; durch [[Jörg Schilling]] mittlerweile für nahezu alle Plattformen verfügbar. Ein Derivat der Bourne-Shell („POSIX-Shell“) ist die Standardshell für neue Benutzerkonten in [[FreeBSD]].&lt;ref&gt;{{Literatur |Autor=Michael Urban, Brian Tiemann |Titel=Sams teach yourself FreeBSD in 24 hours |Verlag=Sams Publishing |Datum=2002 |ISBN=978-0-672-32424-6 |Seiten=56 |Online={{Google Buch|BuchID=LyDP5b2xzaMC|Seite=56}}}}&lt;/ref&gt;</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 116:</td> <td colspan="2" class="diff-lineno">Zeile 116:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Hauptartikel|Kornshell}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Hauptartikel|Kornshell}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>David Korn entwickelte für Unix [[System V]] von [[AT&amp;T]] die Kornshell '''(ksh).''' Diese orientiert sich an der Bourne-Shell, übernimmt aber auch die Neuerungen der C-Shell wie [[Job control]], eine weiter verbesserte Kommandozeileneditierung. Es existiert eine Version von 1988 ''(ksh88)'' und eine neuere von 1993 ''(ksh93).''<del style="font-weight: bold; text-decoration: none;"> Die ''ksh88'' ist Grundlage des [[Portable Operating System Interface|POSIX]]-Standards.</del> Die Korn-Shell war als Teil von Unix System V lange Zeit nur kommerziell erhältlich. Seit dem 1. März 2000 ist der Quelltext von ''ksh93'' frei verfügbar. Viele kommerzielle Unix-Systeme verwenden die ''ksh'' als Standard-Shell ''(/bin/sh).''</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>David Korn entwickelte für Unix [[System V]] von [[AT&amp;T]] die Kornshell '''(ksh).''' Diese orientiert sich an der Bourne-Shell, übernimmt aber auch die Neuerungen der C-Shell wie [[Job control]], eine weiter verbesserte Kommandozeileneditierung. Es existiert eine Version von 1988 ''(ksh88)'' und eine neuere von 1993 ''(ksh93).'' Die Korn-Shell war als Teil von Unix System V lange Zeit nur kommerziell erhältlich. Seit dem 1. März 2000 ist der Quelltext von ''ksh93'' frei verfügbar. Viele kommerzielle Unix-Systeme verwenden die ''ksh'' als Standard-Shell ''(/bin/sh).''</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Die '''dtksh''' („Desktop Korn Shell“) stellt eine Korn-Shell mit zusätzlichen Kommandos für die Programmierung von Benutzeroberflächen unter [[X Window System|X11]]/[[Motif]] dar.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Die '''dtksh''' („Desktop Korn Shell“) stellt eine Korn-Shell mit zusätzlichen Kommandos für die Programmierung von Benutzeroberflächen unter [[X Window System|X11]]/[[Motif]] dar.</div></td> </tr> </table> Stepwiz https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=250192303&oldid=prev Aka: Abkürzung korrigiert, deutsch 2024-11-09T21:26:34Z <p>Abkürzung korrigiert, deutsch</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 9. November 2024, 23:26 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 6:</td> <td colspan="2" class="diff-lineno">Zeile 6:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Allgemeines ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Allgemeines ==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Datei:POSIX Shell Command Language.pdf|<del style="font-weight: bold; text-decoration: none;">thumb</del>]]</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Datei:POSIX Shell Command Language.pdf|<ins style="font-weight: bold; text-decoration: none;">mini</ins>]]</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Nach dem Anmelden ist die Shell das Programm, das vom &lt;code&gt;login&lt;/code&gt;-Prozess gestartet wird und Kommandos entgegennimmt. Die Kommandos werden dann ausgeführt. Man unterscheidet zwischen Kommandos, die in der Shell implementiert sind, wie z.&amp;nbsp;B. &lt;code&gt;cd&lt;/code&gt;, und Kommandos, die dann im Dateisystem gesucht und gestartet werden.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Nach dem Anmelden ist die Shell das Programm, das vom &lt;code&gt;login&lt;/code&gt;-Prozess gestartet wird und Kommandos entgegennimmt. Die Kommandos werden dann ausgeführt. Man unterscheidet zwischen Kommandos, die in der Shell implementiert sind, wie z.&amp;nbsp;B. &lt;code&gt;cd&lt;/code&gt;, und Kommandos, die dann im Dateisystem gesucht und gestartet werden.</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 98:</td> <td colspan="2" class="diff-lineno">Zeile 98:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>In der ersten Version der Bourne-Shell wurde bereits ein Mechanismus implementiert, der das Kriterium z.&amp;nbsp;B. für eine erweiterte Fallunterscheidung (case) auswerten konnte. Die Shell konnte darüber hinaus nur eine [[Boolescher Operator|boolesche]] Auswertung durchführen. Weitere Kriterien wurden durch externe Programme ermittelt. In neueren Bourne-Shells und ihren freien Abkömmlingen (s.u.) ist &lt;code&gt;test&lt;/code&gt; implementiert und wird, wie alle eingebauten Befehle, bei Vorhandensein an Stelle von externen Programmen verwendet. In dem Beispiel wird das eingebaute &lt;code&gt;[&lt;/code&gt; aufgerufen, welches, abgesehen davon, dass ihm zuletzt ein &lt;code&gt;]&lt;/code&gt; übergeben werden muss, identisch zu &lt;code&gt;test&lt;/code&gt; ist. Die eckigen Klammern sind dadurch eine andere Schreibweise für &lt;code&gt;if test $tageszeit -lt 12&lt;/code&gt; mit den [[Argument]]en ''aktuelle Stunde'' (gespeichert in &lt;code&gt;$tageszeit&lt;/code&gt;), &lt;code&gt;-lt&lt;/code&gt; (''less than'' – kleiner als), &lt;code&gt;12&lt;/code&gt;. Gibt das Programm &lt;code&gt;test&lt;/code&gt; den Status 0 (d.&amp;nbsp;h. „wahr“) zurück, so wird alles zur Anweisung &lt;code&gt;then&lt;/code&gt; gehörende ausgeführt. Gibt &lt;code&gt;test&lt;/code&gt; den Status 1 (d.&amp;nbsp;h. „falsch“) zurück, so wird alles zur Anweisung &lt;code&gt;else&lt;/code&gt; gehörende ausgeführt. Da anschließend an die jeweiligen Schlüsselwörter eine Liste von Anweisungen folgen kann, wird mit der Anweisung &lt;code&gt;fi&lt;/code&gt; (d.&amp;nbsp;i. ein umgedrehtes &lt;code&gt;if&lt;/code&gt;) die durch das Schlüsselwort &lt;code&gt;if&lt;/code&gt; eingeleitete Fallunterscheidung beendet.&lt;ref&gt;{{internetquelle|url=https://www.ibm.com/docs/en/aix/7.3?topic=shells-bourne-shell|titel=Bourne shell|werk=Documentation, AIX 7.3|hrsg=IBM|datum=2023-03-24|abruf=2024-11-09}} ''Bourne shell commands''&gt;''Reserved words'': Eintrag ''if...''; ''List of Bourne shell built-in commands'': Einträge ''test'' und ''echo''.&lt;/ref&gt;&lt;ref&gt;{{internetquelle|url=https://man7.org/linux/man-pages/man1/dash.1.html#DESCRIPTION |titel=dash - Linux manual page|werk=Linux man pages online|hrsg=Michael Kerrisk|autor=dash-Projekt|datum=2024-06-08|abruf=2024-11-07}} Abschnitt ''Flow-Control Constructs - if, while, for, case'', Befehl ''if''; Abschnitt ''Builtins'', Befehle ''test'' und ''echo''.&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>In der ersten Version der Bourne-Shell wurde bereits ein Mechanismus implementiert, der das Kriterium z.&amp;nbsp;B. für eine erweiterte Fallunterscheidung (case) auswerten konnte. Die Shell konnte darüber hinaus nur eine [[Boolescher Operator|boolesche]] Auswertung durchführen. Weitere Kriterien wurden durch externe Programme ermittelt. In neueren Bourne-Shells und ihren freien Abkömmlingen (s.<ins style="font-weight: bold; text-decoration: none;">&amp;nbsp;</ins>u.) ist &lt;code&gt;test&lt;/code&gt; implementiert und wird, wie alle eingebauten Befehle, bei Vorhandensein an Stelle von externen Programmen verwendet. In dem Beispiel wird das eingebaute &lt;code&gt;[&lt;/code&gt; aufgerufen, welches, abgesehen davon, dass ihm zuletzt ein &lt;code&gt;]&lt;/code&gt; übergeben werden muss, identisch zu &lt;code&gt;test&lt;/code&gt; ist. Die eckigen Klammern sind dadurch eine andere Schreibweise für &lt;code&gt;if test $tageszeit -lt 12&lt;/code&gt; mit den [[Argument]]en ''aktuelle Stunde'' (gespeichert in &lt;code&gt;$tageszeit&lt;/code&gt;), &lt;code&gt;-lt&lt;/code&gt; (''less than'' – kleiner als), &lt;code&gt;12&lt;/code&gt;. Gibt das Programm &lt;code&gt;test&lt;/code&gt; den Status 0 (d.&amp;nbsp;h. „wahr“) zurück, so wird alles zur Anweisung &lt;code&gt;then&lt;/code&gt; gehörende ausgeführt. Gibt &lt;code&gt;test&lt;/code&gt; den Status 1 (d.&amp;nbsp;h. „falsch“) zurück, so wird alles zur Anweisung &lt;code&gt;else&lt;/code&gt; gehörende ausgeführt. Da anschließend an die jeweiligen Schlüsselwörter eine Liste von Anweisungen folgen kann, wird mit der Anweisung &lt;code&gt;fi&lt;/code&gt; (d.&amp;nbsp;i. ein umgedrehtes &lt;code&gt;if&lt;/code&gt;) die durch das Schlüsselwort &lt;code&gt;if&lt;/code&gt; eingeleitete Fallunterscheidung beendet.&lt;ref&gt;{{internetquelle|url=https://www.ibm.com/docs/en/aix/7.3?topic=shells-bourne-shell|titel=Bourne shell|werk=Documentation, AIX 7.3|hrsg=IBM|datum=2023-03-24|abruf=2024-11-09}} ''Bourne shell commands''&gt;''Reserved words'': Eintrag ''if...''; ''List of Bourne shell built-in commands'': Einträge ''test'' und ''echo''.&lt;/ref&gt;&lt;ref&gt;{{internetquelle|url=https://man7.org/linux/man-pages/man1/dash.1.html#DESCRIPTION |titel=dash - Linux manual page|werk=Linux man pages online|hrsg=Michael Kerrisk|autor=dash-Projekt|datum=2024-06-08|abruf=2024-11-07}} Abschnitt ''Flow-Control Constructs - if, while, for, case'', Befehl ''if''; Abschnitt ''Builtins'', Befehle ''test'' und ''echo''.&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Die C-Shell ===</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Die C-Shell ===</div></td> </tr> </table> Aka https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=250188141&oldid=prev 109.42.51.220: /* Beispielprogramm */ Vervollständigung, weiterer Einzelnachweis 2024-11-09T18:22:28Z <p><span class="autocomment">Beispielprogramm: </span> Vervollständigung, weiterer Einzelnachweis</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 9. November 2024, 20:22 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 98:</td> <td colspan="2" class="diff-lineno">Zeile 98:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>In der ersten Version der Bourne-Shell wurde bereits ein Mechanismus implementiert, der das Kriterium z.&amp;nbsp;B. für eine erweiterte Fallunterscheidung (case) auswerten konnte. Die <del style="font-weight: bold; text-decoration: none;">Bourne-</del>Shell <del style="font-weight: bold; text-decoration: none;">selbst kann</del> darüber hinaus nur eine [[Boolescher Operator|boolesche]] Auswertung durchführen. Weitere Kriterien <del style="font-weight: bold; text-decoration: none;">werden</del> durch externe Programme ermittelt. <del style="font-weight: bold; text-decoration: none;">(</del>In neueren Bourne-Shells ist &lt;code&gt;test&lt;/code&gt; implementiert und wird, wie alle eingebauten Befehle, bei Vorhandensein an Stelle von externen Programmen verwendet.<del style="font-weight: bold; text-decoration: none;">)</del> In dem Beispiel wird das eingebaute &lt;code&gt;[&lt;/code&gt; aufgerufen, welches, abgesehen davon, dass ihm zuletzt ein &lt;code&gt;]&lt;/code&gt; übergeben werden muss, identisch zu &lt;code&gt;test&lt;/code&gt; ist. Die eckigen Klammern sind dadurch eine andere Schreibweise für &lt;code&gt;if test $tageszeit -lt 12&lt;/code&gt; mit den [[Argument]]en ''aktuelle Stunde'' (gespeichert in &lt;code&gt;$tageszeit&lt;/code&gt;), &lt;code&gt;-lt&lt;/code&gt; (''less than'' – kleiner als), &lt;code&gt;12&lt;/code&gt;. Gibt das Programm &lt;code&gt;test&lt;/code&gt; den Status 0 (d.&amp;nbsp;h. „wahr“) zurück, so wird alles zur Anweisung &lt;code&gt;then&lt;/code&gt; gehörende ausgeführt. Gibt &lt;code&gt;test&lt;/code&gt; den Status 1 (d.&amp;nbsp;h. „falsch“) zurück, so wird alles zur Anweisung &lt;code&gt;else&lt;/code&gt; gehörende ausgeführt. Da anschließend an die jeweiligen Schlüsselwörter eine Liste von Anweisungen folgen kann, wird mit der Anweisung &lt;code&gt;fi&lt;/code&gt; (d.&amp;nbsp;i. ein umgedrehtes &lt;code&gt;if&lt;/code&gt;) die durch das Schlüsselwort &lt;code&gt;if&lt;/code&gt; eingeleitete Fallunterscheidung beendet.&lt;ref&gt;{{internetquelle|url=https://man7.org/linux/man-pages/man1/dash.1.html#DESCRIPTION |titel=dash - Linux manual page|hrsg=Michael Kerrisk|autor=dash-Projekt|datum=2024-06-08|abruf=2024-11-<del style="font-weight: bold; text-decoration: none;">08</del>}} Abschnitt ''Flow-Control Constructs - if, while, for, case'', Befehl ''if''; Abschnitt ''Builtins'', Befehle ''test'' und ''echo''.&lt;/ref&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>In der ersten Version der Bourne-Shell wurde bereits ein Mechanismus implementiert, der das Kriterium z.&amp;nbsp;B. für eine erweiterte Fallunterscheidung (case) auswerten konnte. Die Shell <ins style="font-weight: bold; text-decoration: none;">konnte</ins> darüber hinaus nur eine [[Boolescher Operator|boolesche]] Auswertung durchführen. Weitere Kriterien <ins style="font-weight: bold; text-decoration: none;">wurden</ins> durch externe Programme ermittelt. In neueren Bourne-Shells<ins style="font-weight: bold; text-decoration: none;"> und ihren freien Abkömmlingen (s.u.)</ins> ist &lt;code&gt;test&lt;/code&gt; implementiert und wird, wie alle eingebauten Befehle, bei Vorhandensein an Stelle von externen Programmen verwendet. In dem Beispiel wird das eingebaute &lt;code&gt;[&lt;/code&gt; aufgerufen, welches, abgesehen davon, dass ihm zuletzt ein &lt;code&gt;]&lt;/code&gt; übergeben werden muss, identisch zu &lt;code&gt;test&lt;/code&gt; ist. Die eckigen Klammern sind dadurch eine andere Schreibweise für &lt;code&gt;if test $tageszeit -lt 12&lt;/code&gt; mit den [[Argument]]en ''aktuelle Stunde'' (gespeichert in &lt;code&gt;$tageszeit&lt;/code&gt;), &lt;code&gt;-lt&lt;/code&gt; (''less than'' – kleiner als), &lt;code&gt;12&lt;/code&gt;. Gibt das Programm &lt;code&gt;test&lt;/code&gt; den Status 0 (d.&amp;nbsp;h. „wahr“) zurück, so wird alles zur Anweisung &lt;code&gt;then&lt;/code&gt; gehörende ausgeführt. Gibt &lt;code&gt;test&lt;/code&gt; den Status 1 (d.&amp;nbsp;h. „falsch“) zurück, so wird alles zur Anweisung &lt;code&gt;else&lt;/code&gt; gehörende ausgeführt. Da anschließend an die jeweiligen Schlüsselwörter eine Liste von Anweisungen folgen kann, wird mit der Anweisung &lt;code&gt;fi&lt;/code&gt; (d.&amp;nbsp;i. ein umgedrehtes &lt;code&gt;if&lt;/code&gt;) die durch das Schlüsselwort &lt;code&gt;if&lt;/code&gt; eingeleitete Fallunterscheidung beendet.<ins style="font-weight: bold; text-decoration: none;">&lt;ref&gt;{{internetquelle|url=https://www.ibm.com/docs/en/aix/7.3?topic=shells-bourne-shell|titel=Bourne shell|werk=Documentation, AIX 7.3|hrsg=IBM|datum=2023-03-24|abruf=2024-11-09}} ''Bourne shell commands''&gt;''Reserved words'': Eintrag ''if...''; ''List of Bourne shell built-in commands'': Einträge ''test'' und ''echo''.&lt;/ref&gt;</ins>&lt;ref&gt;{{internetquelle|url=https://man7.org/linux/man-pages/man1/dash.1.html#DESCRIPTION |titel=dash - Linux manual page<ins style="font-weight: bold; text-decoration: none;">|werk=Linux man pages online</ins>|hrsg=Michael Kerrisk|autor=dash-Projekt|datum=2024-06-08|abruf=2024-11-<ins style="font-weight: bold; text-decoration: none;">07</ins>}} Abschnitt ''Flow-Control Constructs - if, while, for, case'', Befehl ''if''; Abschnitt ''Builtins'', Befehle ''test'' und ''echo''.&lt;/ref&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Die C-Shell ===</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Die C-Shell ===</div></td> </tr> </table> 109.42.51.220 https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=250178712&oldid=prev 109.42.49.74: /* Beispielprogramm */ Anleitung der dash als beispielhafter Einzelnachweis. In neueren Fassungen oder Abkömmlinge der sh? 2024-11-09T12:43:24Z <p><span class="autocomment">Beispielprogramm: </span> Anleitung der dash als beispielhafter Einzelnachweis. In neueren Fassungen oder Abkömmlinge der sh?</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 9. November 2024, 14:43 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 98:</td> <td colspan="2" class="diff-lineno">Zeile 98:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>&lt;/syntaxhighlight&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>In der ersten Version der Bourne-Shell wurde bereits ein Mechanismus implementiert, der das Kriterium z.&amp;nbsp;B. für eine erweiterte Fallunterscheidung (case) auswerten konnte. Die Bourne-Shell selbst kann darüber hinaus nur eine [[Boolescher Operator|boolesche]] Auswertung durchführen. Weitere Kriterien werden durch externe Programme ermittelt. (In neueren Bourne-Shells ist &lt;code&gt;test&lt;/code&gt; implementiert und wird, wie alle eingebauten Befehle, bei Vorhandensein an Stelle von externen Programmen verwendet.) In dem Beispiel wird das eingebaute &lt;code&gt;[&lt;/code&gt; aufgerufen, welches, abgesehen davon, dass ihm zuletzt ein &lt;code&gt;]&lt;/code&gt; übergeben werden muss, identisch zu &lt;code&gt;test&lt;/code&gt; ist. Die eckigen Klammern sind dadurch eine andere Schreibweise für &lt;code&gt;if test $tageszeit -lt 12&lt;/code&gt; mit den [[Argument]]en ''aktuelle Stunde'' (gespeichert in &lt;code&gt;$tageszeit&lt;/code&gt;), &lt;code&gt;-lt&lt;/code&gt; (''less than'' – kleiner als), &lt;code&gt;12&lt;/code&gt;. Gibt das Programm &lt;code&gt;test&lt;/code&gt; den Status 0 (d.&amp;nbsp;h. „wahr“) zurück, so wird alles zur Anweisung &lt;code&gt;then&lt;/code&gt; gehörende ausgeführt. Gibt &lt;code&gt;test&lt;/code&gt; den Status 1 (d.&amp;nbsp;h. „falsch“) zurück, so wird alles zur Anweisung &lt;code&gt;else&lt;/code&gt; gehörende ausgeführt. Da anschließend an die jeweiligen Schlüsselwörter eine Liste von Anweisungen folgen kann, wird mit der Anweisung &lt;code&gt;fi&lt;/code&gt; (d.&amp;nbsp;i. ein umgedrehtes &lt;code&gt;if&lt;/code&gt;) die durch das Schlüsselwort &lt;code&gt;if&lt;/code&gt; eingeleitete Fallunterscheidung beendet.</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>In der ersten Version der Bourne-Shell wurde bereits ein Mechanismus implementiert, der das Kriterium z.&amp;nbsp;B. für eine erweiterte Fallunterscheidung (case) auswerten konnte. Die Bourne-Shell selbst kann darüber hinaus nur eine [[Boolescher Operator|boolesche]] Auswertung durchführen. Weitere Kriterien werden durch externe Programme ermittelt. (In neueren Bourne-Shells ist &lt;code&gt;test&lt;/code&gt; implementiert und wird, wie alle eingebauten Befehle, bei Vorhandensein an Stelle von externen Programmen verwendet.) In dem Beispiel wird das eingebaute &lt;code&gt;[&lt;/code&gt; aufgerufen, welches, abgesehen davon, dass ihm zuletzt ein &lt;code&gt;]&lt;/code&gt; übergeben werden muss, identisch zu &lt;code&gt;test&lt;/code&gt; ist. Die eckigen Klammern sind dadurch eine andere Schreibweise für &lt;code&gt;if test $tageszeit -lt 12&lt;/code&gt; mit den [[Argument]]en ''aktuelle Stunde'' (gespeichert in &lt;code&gt;$tageszeit&lt;/code&gt;), &lt;code&gt;-lt&lt;/code&gt; (''less than'' – kleiner als), &lt;code&gt;12&lt;/code&gt;. Gibt das Programm &lt;code&gt;test&lt;/code&gt; den Status 0 (d.&amp;nbsp;h. „wahr“) zurück, so wird alles zur Anweisung &lt;code&gt;then&lt;/code&gt; gehörende ausgeführt. Gibt &lt;code&gt;test&lt;/code&gt; den Status 1 (d.&amp;nbsp;h. „falsch“) zurück, so wird alles zur Anweisung &lt;code&gt;else&lt;/code&gt; gehörende ausgeführt. Da anschließend an die jeweiligen Schlüsselwörter eine Liste von Anweisungen folgen kann, wird mit der Anweisung &lt;code&gt;fi&lt;/code&gt; (d.&amp;nbsp;i. ein umgedrehtes &lt;code&gt;if&lt;/code&gt;) die durch das Schlüsselwort &lt;code&gt;if&lt;/code&gt; eingeleitete Fallunterscheidung beendet.<ins style="font-weight: bold; text-decoration: none;">&lt;ref&gt;{{internetquelle|url=https://man7.org/linux/man-pages/man1/dash.1.html#DESCRIPTION |titel=dash - Linux manual page|hrsg=Michael Kerrisk|autor=dash-Projekt|datum=2024-06-08|abruf=2024-11-08}} Abschnitt ''Flow-Control Constructs - if, while, for, case'', Befehl ''if''; Abschnitt ''Builtins'', Befehle ''test'' und ''echo''.&lt;/ref&gt;</ins></div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Die C-Shell ===</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Die C-Shell ===</div></td> </tr> </table> 109.42.49.74 https://de.wikipedia.org/w/index.php?title=Unix-Shell&diff=241999007&oldid=prev Polarlys: /* Weblinks */ +1 2024-02-08T20:41:07Z <p><span class="autocomment">Weblinks: </span> +1</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="de"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Nächstältere Version</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version vom 8. Februar 2024, 22:41 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 200:</td> <td colspan="2" class="diff-lineno">Zeile 200:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Weblinks ==</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Wikibooks|Linux-Praxisbuch/ Shellprogrammierung|Linux-Praxisbuch: Shellprogrammierung}}</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Wikibooks|Linux-Praxisbuch/ Shellprogrammierung|Linux-Praxisbuch: Shellprogrammierung}}</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* {{Internetquelle |autor= |url=https://swcarpentry.github.io/shell-novice/aio.html |titel=The Unix Shell |werk=swcarpentry.github.io |sprache=en |abruf=2024-02-08 |abruf-verborgen=1 |kommentar=umfangreiche Einführung}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Einzelnachweise ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Einzelnachweise ==</div></td> </tr> </table> Polarlys