{"id":11,"date":"2010-03-16T13:58:15","date_gmt":"2010-03-16T13:58:15","guid":{"rendered":"http:\/\/localhost:8888\/wordpress\/?p=11"},"modified":"2010-05-21T10:23:28","modified_gmt":"2010-05-21T10:23:28","slug":"using-diff","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=11","title":{"rendered":"Using Diff"},"content":{"rendered":"<p>Two useful flags you can specify when comparing files are\u00a0<strong>-b <\/strong>(ignore blanks) and\u00a0<strong>-i <\/strong>(ignore case).<\/p>\n<p>You can use them separately or in combination. The ignore blanks feature is especially useful when you&#8217;re comparing the\u00a0source code\u00a0for two programs, since indentation changes are rarely significant. For example, here&#8217;s how you might compare two program files,\u00a0<strong>ur2cool.c <\/strong>and\u00a0<strong>ur2cool.backup:<\/strong><\/p>\n<pre>diff -b -i ur2cool.c ur2cool.backup<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Two useful flags you can specify when comparing files are\u00a0-b (ignore blanks) and\u00a0-i (ignore case). You can use them separately or in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}