<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/diff</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 00:53:48 GMT</pubDate>
<item>
<title>(Bash) Diff and Patch - blackthorne</title>
<link>http://snipplr.com/view/46486/diff-and-patch/</link>
<description><![CDATA[ <p>If you make contributions as a coder or else if you want to apply them in your code you will probably stumble upon '''diff''' and '''patch '''tools. They are frequently used in the Open Source Software specially on the Linux kernel. So, let's say you took some code, made some adjustments/improvements of your own and you want to share it to everyone else. One way is to share all the files you changed which shall be replaced by whoever wants to try your changes. This process requires more data and resources and doesn't make it very clear to everyone who his interested in understanding the differences before submitting your code. Besides if someone else makes some change on one or more of these files, sharing the complete files would replace your changes even if they were done in different parts of the code. So, for serious development you should embrace this option and try the diff/patch way.</p> ]]></description>
<pubDate>Tue, 04 Jan 2011 23:31:30 GMT</pubDate>
<guid>http://snipplr.com/view/46486/diff-and-patch/</guid>
</item>
<item>
<title>(Bash) Svn diff no white space - yisreldov</title>
<link>http://snipplr.com/view/37114/svn-diff-no-white-space/</link>
<description><![CDATA[ <p>shows diff while ignoring white spaces</p> ]]></description>
<pubDate>Sun, 11 Jul 2010 20:17:42 GMT</pubDate>
<guid>http://snipplr.com/view/37114/svn-diff-no-white-space/</guid>
</item>
<item>
<title>(Bash) Recursive dir comparison - alejandrosuch</title>
<link>http://snipplr.com/view/35842/recursive-dir-comparison/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Jun 2010 17:34:28 GMT</pubDate>
<guid>http://snipplr.com/view/35842/recursive-dir-comparison/</guid>
</item>
<item>
<title>(Bash) Compare directories via diff - alvarezrilla</title>
<link>http://snipplr.com/view/33815/compare-directories-via-diff/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 04 May 2010 05:03:13 GMT</pubDate>
<guid>http://snipplr.com/view/33815/compare-directories-via-diff/</guid>
</item>
<item>
<title>(Bash) Compare the state of web pages with a previous state - ascarion</title>
<link>http://snipplr.com/view/29792/compare-the-state-of-web-pages-with-a-previous-state/</link>
<description><![CDATA[ <p>This can be used to check if an update of a CMS (or blog, plugin, ...) changed something in the frontend (content or HTML).

Run the script with the file that contains the urls as parameter:

`wiff.sh urllist.txt`

urllist.txt contains the urls one per line.

The snapshots are stored in "~/wiff" by default.

You can use diff instead of wdiff: `wiff.sh -c diff urllist.txt`</p> ]]></description>
<pubDate>Mon, 15 Mar 2010 15:21:05 GMT</pubDate>
<guid>http://snipplr.com/view/29792/compare-the-state-of-web-pages-with-a-previous-state/</guid>
</item>
<item>
<title>(Bash) function for grepping a string in every diff between two successional svn revisions of a file - hacker</title>
<link>http://snipplr.com/view/20058/function-for-grepping-a-string-in-every-diff-between-two-successional-svn-revisions-of-a-file/</link>
<description><![CDATA[ <p>usage: dgrep foo svn://my-svn-server/trunk/my-file.txt</p> ]]></description>
<pubDate>Tue, 22 Sep 2009 15:01:17 GMT</pubDate>
<guid>http://snipplr.com/view/20058/function-for-grepping-a-string-in-every-diff-between-two-successional-svn-revisions-of-a-file/</guid>
</item>
<item>
<title>(Bash) Copy new/changed files from one folder to another - jmiller</title>
<link>http://snipplr.com/view/19403/copy-newchanged-files-from-one-folder-to-another/</link>
<description><![CDATA[ <p>This is useful for upgrading Drupal modules, etc.</p> ]]></description>
<pubDate>Tue, 08 Sep 2009 21:07:04 GMT</pubDate>
<guid>http://snipplr.com/view/19403/copy-newchanged-files-from-one-folder-to-another/</guid>
</item>
<item>
<title>(Bash) Create patch file - hoffstein</title>
<link>http://snipplr.com/view/10331/create-patch-file/</link>
<description><![CDATA[ <p>Patches are created using the diff program. When making patches, please use the -u option, or if your diff doesn't support it, -c. Ordinary (context-free) diffs are notoriously prone to errors, since line numbers tend to change when others make changes to the same source file.</p> ]]></description>
<pubDate>Mon, 08 Dec 2008 11:31:06 GMT</pubDate>
<guid>http://snipplr.com/view/10331/create-patch-file/</guid>
</item>
<item>
<title>(Bash) Patch between different directories - Juanje</title>
<link>http://snipplr.com/view/6667/patch-between-different-directories/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 12 Jun 2008 07:58:42 GMT</pubDate>
<guid>http://snipplr.com/view/6667/patch-between-different-directories/</guid>
</item>
<item>
<title>(Bash) Compare Directories Using Diff - tylerhall</title>
<link>http://snipplr.com/view/2445/compare-directories-using-diff/</link>
<description><![CDATA[ <p>This command compares two directories and shows you any files that differ between the two. It also shows how to exclude unimportant files like .DS_Store and Thumbs.</p> ]]></description>
<pubDate>Tue, 10 Apr 2007 11:06:10 GMT</pubDate>
<guid>http://snipplr.com/view/2445/compare-directories-using-diff/</guid>
</item>
<item>
<title>(Bash) How to create patches using diff - basicmagic</title>
<link>http://snipplr.com/view/1935/how-to-create-patches-using-diff/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 05 Jan 2007 03:56:34 GMT</pubDate>
<guid>http://snipplr.com/view/1935/how-to-create-patches-using-diff/</guid>
</item>
</channel>
</rss>