<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patch lines</title><link>https://sourceforge.net/p/pyhostspatcher/wiki/patch%2520lines/</link><description>Recent changes to patch lines</description><atom:link href="https://sourceforge.net/p/pyhostspatcher/wiki/patch%20lines/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 23 Aug 2011 09:00:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pyhostspatcher/wiki/patch%20lines/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage patch lines modified by genzj</title><link>https://sourceforge.net/p/pyhostspatcher/wiki/patch%2520lines/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -15,10 +15,10 @@
 At present(version 0.9), three generic types of **action line** supported, they are:
 
 + Add a line to hosts lines:
-&gt; \+ IP hostname \# comments
+&gt; \+ IP hostname \# comments &lt;br&gt;
 &gt; \+ \# Pure comment line
 + Remove a line from hosts lines
-&gt; \- IP \# comments
+&gt; \- IP \# comments &lt;br&gt;
 &gt; \- hostname \# comments
 + Replace all occurrences of a certain IP address
 &gt; &lt;&gt; old-IP new-IP # comments
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">genzj</dc:creator><pubDate>Tue, 23 Aug 2011 09:00:47 -0000</pubDate><guid>https://sourceforge.net9a0c208d6af013e0ec2784ae0136bfd463c809c2</guid></item><item><title>WikiPage patch lines modified by genzj</title><link>https://sourceforge.net/p/pyhostspatcher/wiki/patch%2520lines/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -3,22 +3,23 @@
 
 **Patch lines** are subject of a **[hosts diff]** file.
 
-Generally, there are two types of **patch lines**, **action line** and **info line**. **Action lines** scan lines in hosts file one by one, receive each line as input and output one or more lines. They can modify or delete line(s) of hosts file, or insert line(s) into it. Meanwhile, **info lines** only output some information to log of **pyHostsPatcher**, to warn users or declare purpose of current **[hosts diff]** file, which has no privilege to modify the content of hosts file.
-
+Generally, there are two types of **patch lines**, **action line** and **info line**. **Action lines** scan lines in hosts file one by one, receive each line as input and output one or more lines. They can modify or delete line(s) of hosts file, or insert line(s) into it. Meanwhile, **info lines** only output some information to log of **pyHostsPatcher**, to warn users or declare purpose of current **[hosts diff]** file, which have no privilege to modify the content of hosts file.
+
 Only two types of **info line** supported, they are:
+
 + Prompt for users, can be seen by anyone try to adopt this **[hosts diff]** file:
 &gt; \# Some information
 + Prompt for debuggers, can be seen only in debug output:
 &gt; \#- Some debug information
 
 At present(version 0.9), three generic types of **action line** supported, they are:
 
 + Add a line to hosts lines:
-&gt; \+ IP hostname # comments
+&gt; \+ IP hostname \# comments
 &gt; \+ \# Pure comment line
 + Remove a line from hosts lines
-&gt; \- IP # comments
-&gt; \- hostname # comments
+&gt; \- IP \# comments
+&gt; \- hostname \# comments
 + Replace all occurrences of a certain IP address
 &gt; &lt;&gt; old-IP new-IP # comments
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">genzj</dc:creator><pubDate>Tue, 23 Aug 2011 08:59:32 -0000</pubDate><guid>https://sourceforge.netb2f14c966ea760fedd76ad907901d0567a225bc9</guid></item><item><title>WikiPage patch lines modified by genzj</title><link>https://sourceforge.net/p/pyhostspatcher/wiki/patch%2520lines/</link><description>Patch Lines
=======================

**Patch lines** are subject of a **[hosts diff]** file.

Generally, there are two types of **patch lines**, **action line** and **info line**. **Action lines** scan lines in hosts file one by one, receive each line as input and output one or more lines. They can modify or delete line(s) of hosts file, or insert line(s) into it. Meanwhile, **info lines** only output some information to log of **pyHostsPatcher**, to warn users or declare purpose of current **[hosts diff]** file, which has no privilege to modify the content of hosts file.

Only two types of **info line** supported, they are:
+ Prompt for users, can be seen by anyone try to adopt this **[hosts diff]** file:
&gt; \# Some information
+ Prompt for debuggers, can be seen only in debug output:
&gt; \#- Some debug information

At present(version 0.9), three generic types of **action line** supported, they are:

+ Add a line to hosts lines:
&gt; \+ IP hostname # comments
&gt; \+ \# Pure comment line
+ Remove a line from hosts lines
&gt; \- IP # comments
&gt; \- hostname # comments
+ Replace all occurrences of a certain IP address
&gt; &lt;&gt; old-IP new-IP # comments

___NOTICE___: Add a line will remove duplicated lines which have the same hostname but different IP addresses with the line to add. If there is a line identical to the line to add, the former will be kept and no new line will be appended. But lines with same hostnames and discordant IP addresses are also wiped from final output.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">genzj</dc:creator><pubDate>Tue, 23 Aug 2011 08:53:48 -0000</pubDate><guid>https://sourceforge.net79895189939a560802832bfc0ede76631b053351</guid></item></channel></rss>