https://de.wikipedia.org/w/index.php?action=history&feed=atom&title=Test_%28Unix%29 Test (Unix) - Versionsgeschichte 2025-04-29T06:14:17Z Versionsgeschichte dieser Seite in Wikipedia MediaWiki 1.44.0-wmf.25 https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=253954355&oldid=prev FlyingElias: /* growthexperiments-addlink-summary-summary:1|0|1 */ 2025-03-06T16:33:11Z <p>Linkvorschlag-Funktion: 1 Link 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 6. März 2025, 18:33 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 30:</td> <td colspan="2" class="diff-lineno">Zeile 30:</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>==== Integer-Operatoren ====</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>==== Integer-Operatoren ====</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>Integer-Operatoren erwarten zwei Integer-Werte als Argumente, die gemäß dem Operator miteinander verglichen werden (&lt;code&gt;&lt;Int1&gt; -ge &lt;Int2&gt;&lt;/code&gt; : ''Int1 ist größer oder gleich Int2''). Dies entspricht den Vergleichsoperatoren &lt;code&gt;&gt;&lt;/code&gt;, &lt;code&gt;&gt;=&lt;/code&gt;, &lt;code&gt;==&lt;/code&gt; etc. der meisten Programmiersprachen. Da die Shells gewöhnlich nicht zwischen Datentypen unterscheiden, muss das aufrufende Programm (meist ein Script) selbst Sorge dafür tragen, dass die übergebenen Werte auch als Integer interpretierbar sind. Argumente, auf die dies nicht zutrifft, führen zu einem Laufzeitfehler.</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>Integer-Operatoren erwarten zwei Integer-Werte als Argumente, die gemäß dem Operator miteinander verglichen werden (&lt;code&gt;&lt;Int1&gt; -ge &lt;Int2&gt;&lt;/code&gt; : ''Int1 ist größer oder gleich Int2''). Dies entspricht den Vergleichsoperatoren &lt;code&gt;&gt;&lt;/code&gt;, &lt;code&gt;&gt;=&lt;/code&gt;, &lt;code&gt;==&lt;/code&gt; etc. der meisten Programmiersprachen. Da die Shells gewöhnlich nicht zwischen Datentypen unterscheiden, muss das aufrufende Programm (meist ein Script) selbst Sorge dafür tragen, dass die übergebenen Werte auch als Integer interpretierbar sind. Argumente, auf die dies nicht zutrifft, führen zu einem <ins style="font-weight: bold; text-decoration: none;">[[</ins>Laufzeitfehler<ins style="font-weight: bold; text-decoration: none;">]]</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>==== String-Operatoren ====</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>==== String-Operatoren ====</div></td> </tr> </table> FlyingElias https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=246375911&oldid=prev Aka: typografische Anführungszeichen 2024-07-01T19:09:22Z <p>typografische Anführungszeichen</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 1. Juli 2024, 21:09 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 36:</td> <td colspan="2" class="diff-lineno">Zeile 36:</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>==== Logische Operatoren ====</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>==== Logische Operatoren ====</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>Mehrere der oben genannten Einzelbedingungen können darüber hinaus noch durch logisches &lt;code&gt;UND&lt;/code&gt; bzw. &lt;code&gt;ODER&lt;/code&gt; miteinander verknüpft werden (&lt;code&gt;&lt;Int1&gt; -ne &lt;Int2&gt; -a -r &lt;file&gt; &lt;/code&gt; : ''&lt;Int1&gt; ist nicht gleich &lt;Int2&gt; UND der ausführende Prozeß hat Leserechte auf &lt;file&gt;''). Allerdings schränkt der POSIX-Standard das Verhalten von &lt;code&gt;test&lt;/code&gt; als <del style="font-weight: bold; text-decoration: none;">"unspecified"</del> bei der Übergabe von mehr als 4 Argumenten ein.&lt;ref name="posix" /&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>Mehrere der oben genannten Einzelbedingungen können darüber hinaus noch durch logisches &lt;code&gt;UND&lt;/code&gt; bzw. &lt;code&gt;ODER&lt;/code&gt; miteinander verknüpft werden (&lt;code&gt;&lt;Int1&gt; -ne &lt;Int2&gt; -a -r &lt;file&gt; &lt;/code&gt; : ''&lt;Int1&gt; ist nicht gleich &lt;Int2&gt; UND der ausführende Prozeß hat Leserechte auf &lt;file&gt;''). Allerdings schränkt der POSIX-Standard das Verhalten von &lt;code&gt;test&lt;/code&gt; als <ins style="font-weight: bold; text-decoration: none;">„unspecified“</ins> bei der Übergabe von mehr als 4 Argumenten ein.&lt;ref name="posix" /&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>Sowohl &lt;code&gt;-a&lt;/code&gt; als auch &lt;code&gt;-o&lt;/code&gt; sind ''[[Operatorassoziativität#Linksassoziative Operatoren|linksassoziativ]]'', wobei &lt;code&gt;-a&lt;/code&gt; eine höhere Präzedenz als &lt;code&gt;-o&lt;/code&gt; hat. Diese Regelungen sind allerdings beide als ''obsolescent'' gekennzeichnet.&lt;ref name=posixnew&gt;&lt;/ref&gt;&lt;ref name=posobs&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#OB%20XSI |titel=Codes-Definitionen, Anhang zur IEEE Std 1003.1-2017-Spezifikation |zugriff=2021-08-06 |sprache=en}}&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>Sowohl &lt;code&gt;-a&lt;/code&gt; als auch &lt;code&gt;-o&lt;/code&gt; sind ''[[Operatorassoziativität#Linksassoziative Operatoren|linksassoziativ]]'', wobei &lt;code&gt;-a&lt;/code&gt; eine höhere Präzedenz als &lt;code&gt;-o&lt;/code&gt; hat. Diese Regelungen sind allerdings beide als ''obsolescent'' gekennzeichnet.&lt;ref name=posixnew&gt;&lt;/ref&gt;&lt;ref name=posobs&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#OB%20XSI |titel=Codes-Definitionen, Anhang zur IEEE Std 1003.1-2017-Spezifikation |zugriff=2021-08-06 |sprache=en}}&lt;/ref&gt;</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 83:</td> <td colspan="2" class="diff-lineno">Zeile 83:</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>== &lt;code&gt;test&lt;/code&gt; als Shell-Built-In ==</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;code&gt;test&lt;/code&gt; als Shell-Built-In ==</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>Die meisten modernen Shells stellen aus Performance-Gründen ein ähnlich funktionierendes ''Built-in''-Kommando zur Verfügung. Die [[Kornshell]] und die [[Bourne-again shell]] implementieren dieses &lt;code&gt;test&lt;/code&gt; als &lt;code&gt;[[&lt;/code&gt;, das folgerichtig &lt;code&gt;]]&lt;/code&gt; als abschließendes Argument erwartet. Allerdings wird (zum Unterschied zum herkömmlichen &lt;code&gt;test&lt;/code&gt;) weder ''filename expansion'' noch ''field splitting'' durchgeführt. Dies beeinflusst etwa Prüfungen auf Dateinamen, welche Leerzeichen enthalten, wie das Beispiel illustriert: es existiere im ''working directory'' ein Subdirectory mit Namen &lt;code&gt;test dir&lt;/code&gt;, dann wird der erste Test positiv ausfallen (wegen des nicht erfolgten ''field splittings'' wird <del style="font-weight: bold; text-decoration: none;">"test</del> <del style="font-weight: bold; text-decoration: none;">dir"</del> trotz weggelassenem Quoting als Bezeichner verwendet), der zweite hingegen nach durchgeführtem ''field splitting'' fehlschlagen, weil nur nach <del style="font-weight: bold; text-decoration: none;">"test"</del> gesucht wird.</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 meisten modernen Shells stellen aus Performance-Gründen ein ähnlich funktionierendes ''Built-in''-Kommando zur Verfügung. Die [[Kornshell]] und die [[Bourne-again shell]] implementieren dieses &lt;code&gt;test&lt;/code&gt; als &lt;code&gt;[[&lt;/code&gt;, das folgerichtig &lt;code&gt;]]&lt;/code&gt; als abschließendes Argument erwartet. Allerdings wird (zum Unterschied zum herkömmlichen &lt;code&gt;test&lt;/code&gt;) weder ''filename expansion'' noch ''field splitting'' durchgeführt. Dies beeinflusst etwa Prüfungen auf Dateinamen, welche Leerzeichen enthalten, wie das Beispiel illustriert: es existiere im ''working directory'' ein Subdirectory mit Namen &lt;code&gt;test dir&lt;/code&gt;, dann wird der erste Test positiv ausfallen (wegen des nicht erfolgten ''field splittings'' wird <ins style="font-weight: bold; text-decoration: none;">„test</ins> <ins style="font-weight: bold; text-decoration: none;">dir“</ins> trotz weggelassenem Quoting als Bezeichner verwendet), der zweite hingegen nach durchgeführtem ''field splitting'' fehlschlagen, weil nur nach <ins style="font-weight: bold; text-decoration: none;">„test“</ins> gesucht wird.</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>&lt;syntaxhighlight lang="ksh"&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 lang="ksh"&gt;</div></td> </tr> </table> Aka https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=214599909&oldid=prev Gak69: Weblink aus Fließtext entfernt 2021-08-08T14:40:56Z <p>Weblink aus Fließtext entfernt</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. August 2021, 16:40 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 22:</td> <td colspan="2" class="diff-lineno">Zeile 22:</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;code&gt;/bin/test&lt;/code&gt; (bzw. &lt;code&gt;/bin/&lt;nowiki&gt;[&lt;/nowiki&gt;&lt;/code&gt;) nimmt als Argumente einerseits Werte ([[Zeichenkette|Strings]], [[Integer (Datentyp)|Integers]] und Dateinamen), andererseits logische Operatoren (Vergleiche, Existenzbedingungen von Datei-Metadaten und logische Verknüpfungen) entgegen. Daraus wird der Wahrheitswert einer einfachen oder zusammengesetzten logischen Funktion ermittelt und über den ''Return Code'' an den aufrufenden Prozess zurückübergeben.</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;code&gt;/bin/test&lt;/code&gt; (bzw. &lt;code&gt;/bin/&lt;nowiki&gt;[&lt;/nowiki&gt;&lt;/code&gt;) nimmt als Argumente einerseits Werte ([[Zeichenkette|Strings]], [[Integer (Datentyp)|Integers]] und Dateinamen), andererseits logische Operatoren (Vergleiche, Existenzbedingungen von Datei-Metadaten und logische Verknüpfungen) entgegen. Daraus wird der Wahrheitswert einer einfachen oder zusammengesetzten logischen Funktion ermittelt und über den ''Return Code'' an den aufrufenden Prozess zurückübergeben.</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>Grundsätzlich gilt für &lt;code&gt;test&lt;/code&gt; der ''[https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02 Utility Syntax Guidelines]<del style="font-weight: bold; text-decoration: none;">''-Teil der POSIX-Spezifikation</del>, <del style="font-weight: bold; text-decoration: none;">allerdings mit der</del> <del style="font-weight: bold; text-decoration: none;">Ausnahme Guideline 10,</del> dass nämlich &lt;code&gt;--&lt;/code&gt;, sofern kein Options-Argument, als abschließende Option interpretiert werden soll, auf die lediglich Operanden folgen – selbst, wenn diese mit &lt;code&gt;-&lt;/code&gt; eingeleitet werden.&lt;ref name="posixnew"&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2021-08-06 |sprache=en}}&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>Grundsätzlich gilt für &lt;code&gt;test&lt;/code&gt; der ''<ins style="font-weight: bold; text-decoration: none;">Utility Syntax Guidelines''-Teil der POSIX-Spezifikation, allerdings mit der Ausnahme Guideline 10,&lt;ref&gt;</ins>[https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02<ins style="font-weight: bold; text-decoration: none;"> 12.2</ins> Utility Syntax Guidelines], <ins style="font-weight: bold; text-decoration: none;">auf</ins> <ins style="font-weight: bold; text-decoration: none;">pubs.opengroup.org&lt;/ref&gt;</ins> dass nämlich &lt;code&gt;--&lt;/code&gt;, sofern kein Options-Argument, als abschließende Option interpretiert werden soll, auf die lediglich Operanden folgen – selbst, wenn diese mit &lt;code&gt;-&lt;/code&gt; eingeleitet werden.&lt;ref name="posixnew"&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2021-08-06 |sprache=en}}&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 Operatoren gliedern sich in:</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 Operatoren gliedern sich in:</div></td> </tr> </table> Gak69 https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=214561564&oldid=prev Aka: Tippfehler entfernt, Halbgeviertstrich, Leerzeichen vor Beleg entfernt, Links normiert 2021-08-07T08:05:04Z <p><a href="/wiki/Benutzer:Aka/Tippfehler_entfernt" title="Benutzer:Aka/Tippfehler entfernt">Tippfehler entfernt</a>, Halbgeviertstrich, Leerzeichen vor Beleg entfernt, Links normiert</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 7. August 2021, 10:05 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 22:</td> <td colspan="2" class="diff-lineno">Zeile 22:</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;code&gt;/bin/test&lt;/code&gt; (bzw. &lt;code&gt;/bin/&lt;nowiki&gt;[&lt;/nowiki&gt;&lt;/code&gt;) nimmt als Argumente einerseits Werte ([[Zeichenkette|Strings]], [[Integer (Datentyp)|Integers]] und Dateinamen), andererseits logische Operatoren (Vergleiche, Existenzbedingungen von Datei-Metadaten und logische Verknüpfungen) entgegen. Daraus wird der Wahrheitswert einer einfachen oder zusammengesetzten logischen Funktion ermittelt und über den ''Return Code'' an den aufrufenden Prozess zurückübergeben.</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;code&gt;/bin/test&lt;/code&gt; (bzw. &lt;code&gt;/bin/&lt;nowiki&gt;[&lt;/nowiki&gt;&lt;/code&gt;) nimmt als Argumente einerseits Werte ([[Zeichenkette|Strings]], [[Integer (Datentyp)|Integers]] und Dateinamen), andererseits logische Operatoren (Vergleiche, Existenzbedingungen von Datei-Metadaten und logische Verknüpfungen) entgegen. Daraus wird der Wahrheitswert einer einfachen oder zusammengesetzten logischen Funktion ermittelt und über den ''Return Code'' an den aufrufenden Prozess zurückübergeben.</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>Grundsätzlich gilt für &lt;code&gt;test&lt;/code&gt; der ''[https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02 Utility Syntax Guidelines]''-Teil der POSIX-Spezifikation, allerdings mit der Ausnahme Guideline 10, <del style="font-weight: bold; text-decoration: none;">daß</del> nämlich &lt;code&gt;--&lt;/code&gt;, sofern kein Options-Argument, als abschließende Option interpretiert werden soll, auf die lediglich Operanden folgen <del style="font-weight: bold; text-decoration: none;">-</del> selbst, wenn diese mit &lt;code&gt;-&lt;/code&gt; eingeleitet werden.&lt;ref name="posixnew"&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2021-08-06 |sprache=en}}&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>Grundsätzlich gilt für &lt;code&gt;test&lt;/code&gt; der ''[https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02 Utility Syntax Guidelines]''-Teil der POSIX-Spezifikation, allerdings mit der Ausnahme Guideline 10, <ins style="font-weight: bold; text-decoration: none;">dass</ins> nämlich &lt;code&gt;--&lt;/code&gt;, sofern kein Options-Argument, als abschließende Option interpretiert werden soll, auf die lediglich Operanden folgen <ins style="font-weight: bold; text-decoration: none;">–</ins> selbst, wenn diese mit &lt;code&gt;-&lt;/code&gt; eingeleitet werden.&lt;ref name="posixnew"&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2021-08-06 |sprache=en}}&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 Operatoren gliedern sich in:</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 Operatoren gliedern sich in:</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Zeile 38:</td> <td colspan="2" class="diff-lineno">Zeile 38:</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>Mehrere der oben genannten Einzelbedingungen können darüber hinaus noch durch logisches &lt;code&gt;UND&lt;/code&gt; bzw. &lt;code&gt;ODER&lt;/code&gt; miteinander verknüpft werden (&lt;code&gt;&lt;Int1&gt; -ne &lt;Int2&gt; -a -r &lt;file&gt; &lt;/code&gt; : ''&lt;Int1&gt; ist nicht gleich &lt;Int2&gt; UND der ausführende Prozeß hat Leserechte auf &lt;file&gt;''). Allerdings schränkt der POSIX-Standard das Verhalten von &lt;code&gt;test&lt;/code&gt; als "unspecified" bei der Übergabe von mehr als 4 Argumenten ein.&lt;ref name="posix" /&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>Mehrere der oben genannten Einzelbedingungen können darüber hinaus noch durch logisches &lt;code&gt;UND&lt;/code&gt; bzw. &lt;code&gt;ODER&lt;/code&gt; miteinander verknüpft werden (&lt;code&gt;&lt;Int1&gt; -ne &lt;Int2&gt; -a -r &lt;file&gt; &lt;/code&gt; : ''&lt;Int1&gt; ist nicht gleich &lt;Int2&gt; UND der ausführende Prozeß hat Leserechte auf &lt;file&gt;''). Allerdings schränkt der POSIX-Standard das Verhalten von &lt;code&gt;test&lt;/code&gt; als "unspecified" bei der Übergabe von mehr als 4 Argumenten ein.&lt;ref name="posix" /&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>Sowohl &lt;code&gt;-a&lt;/code&gt; als auch &lt;code&gt;-o&lt;/code&gt; sind ''[[<del style="font-weight: bold; text-decoration: none;">Operatorassoziativit%C3%A4t</del>#<del style="font-weight: bold; text-decoration: none;">Linksassoziative_Operatoren</del>|linksassoziativ]]'', wobei &lt;code&gt;-a&lt;/code&gt; eine höhere Präzedenz als &lt;code&gt;-o&lt;/code&gt; hat. Diese Regelungen sind allerdings beide als ''obsolescent'' gekennzeichnet.<del style="font-weight: bold; text-decoration: none;"> </del>&lt;ref name=posixnew&gt;&lt;/ref&gt;&lt;ref name=posobs&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#OB%20XSI |titel=Codes-Definitionen, Anhang zur IEEE Std 1003.1-2017-Spezifikation |zugriff=2021-08-06 |sprache=en}}&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>Sowohl &lt;code&gt;-a&lt;/code&gt; als auch &lt;code&gt;-o&lt;/code&gt; sind ''[[<ins style="font-weight: bold; text-decoration: none;">Operatorassoziativität</ins>#<ins style="font-weight: bold; text-decoration: none;">Linksassoziative Operatoren</ins>|linksassoziativ]]'', wobei &lt;code&gt;-a&lt;/code&gt; eine höhere Präzedenz als &lt;code&gt;-o&lt;/code&gt; hat. Diese Regelungen sind allerdings beide als ''obsolescent'' gekennzeichnet.&lt;ref name=posixnew&gt;&lt;/ref&gt;&lt;ref name=posobs&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#OB%20XSI |titel=Codes-Definitionen, Anhang zur IEEE Std 1003.1-2017-Spezifikation |zugriff=2021-08-06 |sprache=en}}&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>==== Operator-Präzedenz, Gruppierung ====</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>==== Operator-Präzedenz, Gruppierung ====</div></td> </tr> </table> Aka https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=214551980&oldid=prev Bakunin: /* Logische Operatoren */ Operator-Präzedenz, Quellen hinzugefügt 2021-08-06T19:24:31Z <p><span class="autocomment">Logische Operatoren: </span> Operator-Präzedenz, Quellen 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 6. August 2021, 21:24 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 37:</td> <td colspan="2" class="diff-lineno">Zeile 37:</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>==== Logische Operatoren ====</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>==== Logische Operatoren ====</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>Mehrere der oben genannten Einzelbedingungen können darüber hinaus noch durch logisches &lt;code&gt;UND&lt;/code&gt; bzw. &lt;code&gt;ODER&lt;/code&gt; miteinander verknüpft werden (&lt;code&gt;&lt;Int1&gt; -ne &lt;Int2&gt; -a -r &lt;file&gt; &lt;/code&gt; : ''&lt;Int1&gt; ist nicht gleich &lt;Int2&gt; UND der ausführende Prozeß hat Leserechte auf &lt;file&gt;''). Allerdings schränkt der POSIX-Standard das Verhalten von &lt;code&gt;test&lt;/code&gt; als "unspecified" bei der Übergabe von mehr als 4 Argumenten ein.&lt;ref name="posix" /&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>Mehrere der oben genannten Einzelbedingungen können darüber hinaus noch durch logisches &lt;code&gt;UND&lt;/code&gt; bzw. &lt;code&gt;ODER&lt;/code&gt; miteinander verknüpft werden (&lt;code&gt;&lt;Int1&gt; -ne &lt;Int2&gt; -a -r &lt;file&gt; &lt;/code&gt; : ''&lt;Int1&gt; ist nicht gleich &lt;Int2&gt; UND der ausführende Prozeß hat Leserechte auf &lt;file&gt;''). Allerdings schränkt der POSIX-Standard das Verhalten von &lt;code&gt;test&lt;/code&gt; als "unspecified" bei der Übergabe von mehr als 4 Argumenten ein.&lt;ref name="posix" /&gt;</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;"><br /></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>Sowohl &lt;code&gt;-a&lt;/code&gt; als auch &lt;code&gt;-o&lt;/code&gt; sind ''[[Operatorassoziativit%C3%A4t#Linksassoziative_Operatoren|linksassoziativ]]'', wobei &lt;code&gt;-a&lt;/code&gt; eine höhere Präzedenz als &lt;code&gt;-o&lt;/code&gt; hat. Diese Regelungen sind allerdings beide als ''obsolescent'' gekennzeichnet. &lt;ref name=posixnew&gt;&lt;/ref&gt;&lt;ref name=posobs&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#OB%20XSI |titel=Codes-Definitionen, Anhang zur IEEE Std 1003.1-2017-Spezifikation |zugriff=2021-08-06 |sprache=en}}&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>==== Operator-Präzedenz, Gruppierung ====</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>==== Operator-Präzedenz, Gruppierung ====</div></td> </tr> </table> Bakunin https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=214551629&oldid=prev Bakunin: /* Parameter */ 2021-08-06T19:07:11Z <p><span class="autocomment">Parameter</span></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 6. August 2021, 21:07 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 22:</td> <td colspan="2" class="diff-lineno">Zeile 22:</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;code&gt;/bin/test&lt;/code&gt; (bzw. &lt;code&gt;/bin/&lt;nowiki&gt;[&lt;/nowiki&gt;&lt;/code&gt;) nimmt als Argumente einerseits Werte ([[Zeichenkette|Strings]], [[Integer (Datentyp)|Integers]] und Dateinamen), andererseits logische Operatoren (Vergleiche, Existenzbedingungen von Datei-Metadaten und logische Verknüpfungen) entgegen. Daraus wird der Wahrheitswert einer einfachen oder zusammengesetzten logischen Funktion ermittelt und über den ''Return Code'' an den aufrufenden Prozess zurückübergeben.</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;code&gt;/bin/test&lt;/code&gt; (bzw. &lt;code&gt;/bin/&lt;nowiki&gt;[&lt;/nowiki&gt;&lt;/code&gt;) nimmt als Argumente einerseits Werte ([[Zeichenkette|Strings]], [[Integer (Datentyp)|Integers]] und Dateinamen), andererseits logische Operatoren (Vergleiche, Existenzbedingungen von Datei-Metadaten und logische Verknüpfungen) entgegen. Daraus wird der Wahrheitswert einer einfachen oder zusammengesetzten logischen Funktion ermittelt und über den ''Return Code'' an den aufrufenden Prozess zurückübergeben.</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>Grundsätzlich gilt für &lt;code&gt;test&lt;/code&gt; der ''[https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02 Utility Syntax Guidelines]''-Teil der POSIX-Spezifikation, allerdings mit der Ausnahme Guideline 10, daß nämlich &lt;code&gt;--&lt;/code&gt;, sofern kein Options-Argument, als abschließende Option interpretiert werden soll, auf die lediglich Operanden folgen -selbst, wenn diese mit &lt;code&gt;-&lt;/code&gt; eingeleitet werden.&lt;ref name="posixnew"&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2021-08-06 |sprache=en}}&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>Grundsätzlich gilt für &lt;code&gt;test&lt;/code&gt; der ''[https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02 Utility Syntax Guidelines]''-Teil der POSIX-Spezifikation, allerdings mit der Ausnahme Guideline 10, daß nämlich &lt;code&gt;--&lt;/code&gt;, sofern kein Options-Argument, als abschließende Option interpretiert werden soll, auf die lediglich Operanden folgen -<ins style="font-weight: bold; text-decoration: none;"> </ins>selbst, wenn diese mit &lt;code&gt;-&lt;/code&gt; eingeleitet werden.&lt;ref name="posixnew"&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2021-08-06 |sprache=en}}&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 Operatoren gliedern sich in:</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 Operatoren gliedern sich in:</div></td> </tr> </table> Bakunin https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=214551605&oldid=prev Bakunin: /* Parameter */ 2021-08-06T19:06:07Z <p><span class="autocomment">Parameter</span></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 6. August 2021, 21:06 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 20:</td> <td colspan="2" class="diff-lineno">Zeile 20:</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>=== Parameter ===</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>=== Parameter ===</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>&lt;code&gt;/bin/test&lt;/code&gt; nimmt als Argumente einerseits Werte ([[Zeichenkette|Strings]], [[Integer (Datentyp)|Integers]] und Dateinamen), andererseits logische Operatoren (Vergleiche, Existenzbedingungen von Datei-Metadaten und logische Verknüpfungen) entgegen. Daraus wird der Wahrheitswert einer einfachen oder zusammengesetzten logischen Funktion ermittelt<del style="font-weight: bold; text-decoration: none;">.</del> <del style="font-weight: bold; text-decoration: none;">Die</del> <del style="font-weight: bold; text-decoration: none;">Operatoren</del> <del style="font-weight: bold; text-decoration: none;">gliedern</del> <del style="font-weight: bold; text-decoration: none;">sich</del> <del style="font-weight: bold; text-decoration: none;">in:</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>&lt;code&gt;/bin/test&lt;/code&gt;<ins style="font-weight: bold; text-decoration: none;"> (bzw. &lt;code&gt;/bin/&lt;nowiki&gt;[&lt;/nowiki&gt;&lt;/code&gt;)</ins> nimmt als Argumente einerseits Werte ([[Zeichenkette|Strings]], [[Integer (Datentyp)|Integers]] und Dateinamen), andererseits logische Operatoren (Vergleiche, Existenzbedingungen von Datei-Metadaten und logische Verknüpfungen) entgegen. Daraus wird der Wahrheitswert einer einfachen oder zusammengesetzten logischen Funktion ermittelt <ins style="font-weight: bold; text-decoration: none;">und</ins> <ins style="font-weight: bold; text-decoration: none;">über</ins> <ins style="font-weight: bold; text-decoration: none;">den</ins> <ins style="font-weight: bold; text-decoration: none;">''Return</ins> <ins style="font-weight: bold; text-decoration: none;">Code'' an den aufrufenden Prozess zurückübergeben.</ins></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;"><br /></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>Grundsätzlich gilt für &lt;code&gt;test&lt;/code&gt; der ''[https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_02 Utility Syntax Guidelines]''-Teil der POSIX-Spezifikation, allerdings mit der Ausnahme Guideline 10, daß nämlich &lt;code&gt;--&lt;/code&gt;, sofern kein Options-Argument, als abschließende Option interpretiert werden soll, auf die lediglich Operanden folgen -selbst, wenn diese mit &lt;code&gt;-&lt;/code&gt; eingeleitet werden.&lt;ref name="posixnew"&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2021-08-06 |sprache=en}}&lt;/ref&gt;</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;"><br /></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>Die Operatoren gliedern sich in:</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>==== Dateibezogene Operatoren ====</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>==== Dateibezogene Operatoren ====</div></td> </tr> </table> Bakunin https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=214105337&oldid=prev Bakunin am 22. Juli 2021 um 12:29 Uhr 2021-07-22T12:29:17Z <p></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 22. Juli 2021, 14:29 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</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>{{SEITENTITEL:test (Unix)}}</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>{{SEITENTITEL:test (Unix)}}</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>'''test''' (&lt;code&gt;/bin/test&lt;/code&gt;) ist ein [[Unix]]-Werkzeug, mit dem logische Vergleiche angestellt werden können. Es gehört zur grundlegenden Ausstattung Unix-artiger Systeme <del style="font-weight: bold; text-decoration: none;">und</del> sein Verhalten<del style="font-weight: bold; text-decoration: none;"> ist</del> durch den [[Portable Operating System Interface|POSIX]]-Standard genormt.&lt;ref name="posix"&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/009695399/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2013-04-13 |sprache=en}}&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>'''test''' (&lt;code&gt;/bin/test&lt;/code&gt;) ist ein [[Unix]]-Werkzeug, mit dem logische Vergleiche angestellt werden können. Es gehört zur grundlegenden Ausstattung Unix-artiger Systeme<ins style="font-weight: bold; text-decoration: none;">,</ins> <ins style="font-weight: bold; text-decoration: none;">für UNIX-Systeme ist</ins> sein Verhalten durch den [[Portable Operating System Interface|POSIX]]-Standard genormt.&lt;ref name="posix"&gt;{{Internetquelle |url=https://pubs.opengroup.org/onlinepubs/009695399/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2013-04-13 |sprache=en}}&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>Viele [[Unix-Shell|Shells]] implementieren es mittlerweile als ''built-in''-Kommando, aber diese Implementierungen leiten sich alle von der ursprünglichen Version als ''stand-alone''-Programm ab.</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>Viele [[Unix-Shell|Shells]] implementieren es mittlerweile als ''built-in''-Kommando, aber diese Implementierungen leiten sich alle von der ursprünglichen Version als ''stand-alone''-Programm ab.</div></td> </tr> </table> Bakunin https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=214015834&oldid=prev Bakunin: zum widerholten Male: test kriegt Parameter, die es durch einen IFS (=space per default) getrennt erwartet!! Hört endlich auf, Leerzeichen einzusparen, die notwendig sind, wenn ihr von Unix nix versteht! 2021-07-19T10:29:08Z <p>zum widerholten Male: test kriegt Parameter, die es durch einen IFS (=space per default) getrennt erwartet!! Hört endlich auf, Leerzeichen einzusparen, die notwendig sind, wenn ihr von Unix nix versteht!</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 19. Juli 2021, 12:29 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 83:</td> <td colspan="2" class="diff-lineno">Zeile 83:</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>typeset FOO="test dir"</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>typeset FOO="test dir"</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>if [[-d $FOO]] ; then</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>if [[<ins style="font-weight: bold; text-decoration: none;"> </ins>-d $FOO<ins style="font-weight: bold; text-decoration: none;"> </ins>]] ; then</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> print - "internal test: dir $FOO found"</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> print - "internal test: dir $FOO found"</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>fi</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>fi</div></td> </tr> </table> Bakunin https://de.wikipedia.org/w/index.php?title=Test_(Unix)&diff=211196280&oldid=prev Aka: https 2021-04-22T17:04:43Z <p>https</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 22. April 2021, 19:04 Uhr</td> </tr><tr> <td colspan="2" class="diff-lineno">Zeile 1:</td> <td colspan="2" class="diff-lineno">Zeile 1:</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>{{SEITENTITEL:test (Unix)}}</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>{{SEITENTITEL:test (Unix)}}</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>'''test''' (&lt;code&gt;/bin/test&lt;/code&gt;) ist ein [[Unix]]-Werkzeug, mit dem logische Vergleiche angestellt werden können. Es gehört zur grundlegenden Ausstattung Unix-artiger Systeme und sein Verhalten ist durch den [[Portable Operating System Interface|POSIX]]-Standard genormt.&lt;ref name="posix"&gt;{{Internetquelle |url=<del style="font-weight: bold; text-decoration: none;">http</del>://pubs.opengroup.org/onlinepubs/009695399/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2013-04-13 |sprache=en}}&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>'''test''' (&lt;code&gt;/bin/test&lt;/code&gt;) ist ein [[Unix]]-Werkzeug, mit dem logische Vergleiche angestellt werden können. Es gehört zur grundlegenden Ausstattung Unix-artiger Systeme und sein Verhalten ist durch den [[Portable Operating System Interface|POSIX]]-Standard genormt.&lt;ref name="posix"&gt;{{Internetquelle |url=<ins style="font-weight: bold; text-decoration: none;">https</ins>://pubs.opengroup.org/onlinepubs/009695399/utilities/test.html |titel=test-Spezifikation der Open Group |zugriff=2013-04-13 |sprache=en}}&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>Viele [[Unix-Shell|Shells]] implementieren es mittlerweile als ''built-in''-Kommando, aber diese Implementierungen leiten sich alle von der ursprünglichen Version als ''stand-alone''-Programm ab.</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>Viele [[Unix-Shell|Shells]] implementieren es mittlerweile als ''built-in''-Kommando, aber diese Implementierungen leiten sich alle von der ursprünglichen Version als ''stand-alone''-Programm ab.</div></td> </tr> </table> Aka