<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="sv">
	<id>https://wiki.linux.se/index.php?action=history&amp;feed=atom&amp;title=gdiffmk%281%29</id>
	<title>gdiffmk(1) - Versionshistorik</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linux.se/index.php?action=history&amp;feed=atom&amp;title=gdiffmk%281%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.linux.se/index.php?title=gdiffmk(1)&amp;action=history"/>
	<updated>2026-05-13T15:26:46Z</updated>
	<subtitle>Versionshistorik för denna sida på wikin</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.linux.se/index.php?title=gdiffmk(1)&amp;diff=7443&amp;oldid=prev</id>
		<title>Admin: Skapade sidan med &#039;== NAMN ==  gdiffmk - markera skillnader mellan groff/nroff/troff-filer  == SYNOPSIS ==  &lt;pre&gt; gdiffmk [-a tillskottsmarkering] [-c ändringsmarkering] [-d raderingsmarkering] [-x diff-kommando] [-D [-B] [-M markering1 markering2]] [--] fil1 fil2 [utdatafil] &lt;/pre&gt;  == BESKRIVNING ==  &lt;code&gt;gdiffmk&lt;/code&gt; jämför två &lt;code&gt;roff(7)&lt;/code&gt;-dokument, &lt;code&gt;fil1&lt;/code&gt; och &lt;code&gt;fil2&lt;/code&gt;, och skriver ett roff-dokument till standard ut (eller &lt;code&gt;utdatafil&lt;/code&gt;) best...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.linux.se/index.php?title=gdiffmk(1)&amp;diff=7443&amp;oldid=prev"/>
		<updated>2025-03-27T05:14:20Z</updated>

		<summary type="html">&lt;p&gt;Skapade sidan med &amp;#039;== NAMN ==  gdiffmk - markera skillnader mellan groff/nroff/troff-filer  == SYNOPSIS ==  &amp;lt;pre&amp;gt; gdiffmk [-a tillskottsmarkering] [-c ändringsmarkering] [-d raderingsmarkering] [-x diff-kommando] [-D [-B] [-M markering1 markering2]] [--] fil1 fil2 [utdatafil] &amp;lt;/pre&amp;gt;  == BESKRIVNING ==  &amp;lt;code&amp;gt;gdiffmk&amp;lt;/code&amp;gt; jämför två &amp;lt;code&amp;gt;roff(7)&amp;lt;/code&amp;gt;-dokument, &amp;lt;code&amp;gt;fil1&amp;lt;/code&amp;gt; och &amp;lt;code&amp;gt;fil2&amp;lt;/code&amp;gt;, och skriver ett roff-dokument till standard ut (eller &amp;lt;code&amp;gt;utdatafil&amp;lt;/code&amp;gt;) best...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ny sida&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== NAMN ==&lt;br /&gt;
&lt;br /&gt;
gdiffmk - markera skillnader mellan groff/nroff/troff-filer&lt;br /&gt;
&lt;br /&gt;
== SYNOPSIS ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gdiffmk [-a tillskottsmarkering] [-c ändringsmarkering] [-d raderingsmarkering] [-x diff-kommando] [-D [-B] [-M markering1 markering2]] [--] fil1 fil2 [utdatafil]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== BESKRIVNING ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;gdiffmk&amp;lt;/code&amp;gt; jämför två &amp;lt;code&amp;gt;roff(7)&amp;lt;/code&amp;gt;-dokument, &amp;lt;code&amp;gt;fil1&amp;lt;/code&amp;gt; och &amp;lt;code&amp;gt;fil2&amp;lt;/code&amp;gt;, och skriver ett roff-dokument till standard ut (eller &amp;lt;code&amp;gt;utdatafil&amp;lt;/code&amp;gt;) bestående av &amp;lt;code&amp;gt;fil2&amp;lt;/code&amp;gt; med tillagda marginaltecken (&amp;lt;code&amp;gt;.mc&amp;lt;/code&amp;gt;) som markerar rader som skiljer sig från &amp;lt;code&amp;gt;fil1&amp;lt;/code&amp;gt;. Om &amp;lt;code&amp;gt;fil1&amp;lt;/code&amp;gt; eller &amp;lt;code&amp;gt;fil2&amp;lt;/code&amp;gt; är ”-&amp;quot;, läses standard in för den filen. Om &amp;lt;code&amp;gt;utdatafil&amp;lt;/code&amp;gt; anges, skrivs resultatet dit; annars till standard ut. Samma ”-” kan inte användas för både in- och utdata.&lt;br /&gt;
&lt;br /&gt;
== FLAGGOR ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; visar en hjälptext och &amp;lt;code&amp;gt;--version&amp;lt;/code&amp;gt; visar versionsinformation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;tillskottsmarkering&amp;lt;/code&amp;gt;  &lt;br /&gt;
Använd detta tecken för nya rader som inte finns i &amp;lt;code&amp;gt;fil1&amp;lt;/code&amp;gt; men som finns i &amp;lt;code&amp;gt;fil2&amp;lt;/code&amp;gt;. Standard: ”+”&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-B&amp;lt;/code&amp;gt;  &lt;br /&gt;
Undertryck &amp;lt;code&amp;gt;br&amp;lt;/code&amp;gt;-kommandon som infogas av &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;-flaggan. Använd med försiktighet eftersom dessa är nödvändiga för att säkert markera raderingar och små ändringar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-c&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;ändringsmarkering&amp;lt;/code&amp;gt;  &lt;br /&gt;
Tecken för att markera ändrade rader. Standard: ”|”&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-d&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;raderingsmarkering&amp;lt;/code&amp;gt;  &lt;br /&gt;
Tecken för att markera raderade rader. Standard: ”*”&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;  &lt;br /&gt;
Visa de raderade delarna i ändrad eller raderad text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-M&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;markering1 markering2&amp;lt;/code&amp;gt;  &lt;br /&gt;
Använd &amp;lt;code&amp;gt;markering1&amp;lt;/code&amp;gt; och &amp;lt;code&amp;gt;markering2&amp;lt;/code&amp;gt; för att omge text markerad av &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;. Standard: ”[[” och ”]]”&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-x&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;diff-kommando&amp;lt;/code&amp;gt;  &lt;br /&gt;
Använd angivet kommando istället för &amp;lt;code&amp;gt;diff&amp;lt;/code&amp;gt; för att jämföra &amp;lt;code&amp;gt;fil1&amp;lt;/code&amp;gt; och &amp;lt;code&amp;gt;fil2&amp;lt;/code&amp;gt;. Kommandot måste stödja GNU:s &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;-flagg.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--&amp;lt;/code&amp;gt;  &lt;br /&gt;
Avslutar flagglista så att resterande argument tolkas som filnamn, även om de börjar med ”-”.&lt;br /&gt;
&lt;br /&gt;
== STATUSKODER ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;gdiffmk&amp;lt;/code&amp;gt; avslutar med:&lt;br /&gt;
* 0 om filerna är lika&lt;br /&gt;
* 1 om de skiljer sig&lt;br /&gt;
* 2 vid användarfel&lt;br /&gt;
* 3 om &amp;lt;code&amp;gt;diff&amp;lt;/code&amp;gt; eller &amp;lt;code&amp;gt;sh&amp;lt;/code&amp;gt; saknar nödvändig funktionalitet&lt;br /&gt;
* 4 om utdatafilen är samma som indatafil&lt;br /&gt;
&lt;br /&gt;
== FEL ==&lt;br /&gt;
&lt;br /&gt;
Utdata är inte alltid kompatibelt med alla makropaket eller förprocessorer. Ett säkert alternativ är att köra &amp;lt;code&amp;gt;gdiffmk&amp;lt;/code&amp;gt; på roff-utdata efter förprocessning.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;gdiffmk&amp;lt;/code&amp;gt; använder GNU &amp;lt;code&amp;gt;diff&amp;lt;/code&amp;gt; med &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;. Busybox-diff saknar detta stöd. Se även flaggan &amp;lt;code&amp;gt;-x&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== UPPHOVSMAN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;gdiffmk&amp;lt;/code&amp;gt; skrevs av Mike Bianchi ⌨MBianchi@Foveal.com〈 och underhålls nu av &amp;lt;code&amp;gt;groff&amp;lt;/code&amp;gt;-utvecklarna.&lt;br /&gt;
&lt;br /&gt;
== SE ÄVEN ==&lt;br /&gt;
&lt;br /&gt;
[[groff(1)]], [[nroff(1)]], [[troff(1)]], [[roff(7)]], [[diff(1)]]&lt;br /&gt;
&lt;br /&gt;
== COLOPHON ==&lt;br /&gt;
&lt;br /&gt;
Denna sida är en del av [[groff(1)]]-projektet. För mer information, se: https://www.gnu.org/software/groff/&lt;br /&gt;
&lt;br /&gt;
= Sidslut =&lt;br /&gt;
&lt;br /&gt;
Orginalhemsidan på Engelska https://man7.org/linux/man-pages/man1/gdiffmk.1.html&lt;br /&gt;
&amp;lt;HR&amp;gt;&lt;br /&gt;
Det här är en maskinöversättning av Linux man sidor till svenska. Om du hittar fel är vi tacksamma om du rapporterar dem via formuläret som finns på &lt;br /&gt;
https://www.linux.se/kontaka-linux-se/&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;Tack till [https://datorhjalp.se/web/ Datorhjälp Bromma] som har  sponsrat [https://www.linux.se Linux.se] med webbhotell.&lt;br /&gt;
&lt;br /&gt;
[[Kategori:Linuxmanual grupp 1]]&lt;br /&gt;
[[Kategori:Linuxmanual]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>