<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=Wikipedia%3ATechnik%2FText%2FDiff%2FExternal</id>
	<title>Wikipedia:Technik/Text/Diff/External - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki-de.moshellshocker.dns64.de/index.php?action=history&amp;feed=atom&amp;title=Wikipedia%3ATechnik%2FText%2FDiff%2FExternal"/>
	<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=Wikipedia:Technik/Text/Diff/External&amp;action=history"/>
	<updated>2026-06-02T01:29:41Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikipedia (Deutsch) – Lokale Kopie</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki-de.moshellshocker.dns64.de/index.php?title=Wikipedia:Technik/Text/Diff/External&amp;diff=1101243&amp;oldid=prev</id>
		<title>2003:E6:571F:C088:DD86:8A97:BD82:E573: Fehlende Navi-Box ergänzt</title>
		<link rel="alternate" type="text/html" href="https://wiki-de.moshellshocker.dns64.de/index.php?title=Wikipedia:Technik/Text/Diff/External&amp;diff=1101243&amp;oldid=prev"/>
		<updated>2019-04-01T09:44:20Z</updated>

		<summary type="html">&lt;p&gt;Fehlende Navi-Box ergänzt&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Wikipedia:Technik/Linkbox}}&lt;br /&gt;
Bisher war eine Benutzer-Einstellung „{{INT:Tog-externaldiff}}“ vorhanden.&lt;br /&gt;
&lt;br /&gt;
Damit konnte man auf einfachem Weg ein externes Diff-Programm verwenden zur Anzeige der Unterschiede zwischen zwei Versionen.&lt;br /&gt;
&lt;br /&gt;
Am 24. April 2013 wurde dies abgeschaltet.&lt;br /&gt;
&lt;br /&gt;
Es konnte das nachfolgende Shell-Skript benutzt werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
DIFF=diff&lt;br /&gt;
DFLAGS=&lt;br /&gt;
&lt;br /&gt;
if [ -z &amp;quot;$1&amp;quot; ]; then&lt;br /&gt;
    exit&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
url1=`awk &amp;#039;/\[File\]/ { getline; getline; gsub(/URL=/,&amp;quot;&amp;quot;); print; }&amp;#039; &amp;quot;$1&amp;quot;`&lt;br /&gt;
url2=`awk &amp;#039;/\[File 2\]/ { getline; getline; gsub(/URL=/,&amp;quot;&amp;quot;); print; }&amp;#039; &amp;quot;$1&amp;quot;`&lt;br /&gt;
f1=`echo $url1 | sed &amp;#039;s-.*id=--&amp;#039;`&lt;br /&gt;
f2=`echo $url2 | sed &amp;#039;s-.*id=--&amp;#039;`&lt;br /&gt;
&lt;br /&gt;
curl &amp;quot;$url1&amp;quot; -o /tmp/$f1 &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
curl &amp;quot;$url2&amp;quot; -o /tmp/$f2 &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
$DIFF $DFLAGS /tmp/$f1 /tmp/$f2&lt;br /&gt;
rm /tmp/$f1 /tmp/$f2 $1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Als Alternativen zu [[diff]] können kdiff3, meld oder andere Programme verwendet werden. Eine Liste von Alternativen findet sich unter [[diff]].&lt;br /&gt;
&lt;br /&gt;
Um eine anderes Programm einzustellen, muss die Zeile „&amp;lt;code&amp;gt;DIFF=diff&amp;lt;/code&amp;gt;“ in „&amp;lt;code&amp;gt;DIFF=&amp;#039;&amp;#039;Programm Deiner Wahl&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;“ geändert werden.&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Wikipedia:Technik/Text|Diff-extern]]&lt;/div&gt;</summary>
		<author><name>2003:E6:571F:C088:DD86:8A97:BD82:E573</name></author>
	</entry>
</feed>