{"id":1019,"date":"2009-06-19T14:47:26","date_gmt":"2009-06-19T18:47:26","guid":{"rendered":"http:\/\/www.ezrasf.com\/wplog\/?p=1019"},"modified":"2009-06-19T15:10:13","modified_gmt":"2009-06-19T19:10:13","slug":"diff-and-spaces","status":"publish","type":"post","link":"https:\/\/www.ezrasf.com\/wplog\/2009\/06\/19\/diff-and-spaces\/","title":{"rendered":"Diff and Spaces"},"content":{"rendered":"<p>Amy&#8217;s dump of the <a href=\"http:\/\/www.ezrasf.com\/wplog\/2009\/05\/12\/preserving-cevista-settings\/\">CE\/Vista settings table<\/a> ended up with a slightly different format than mine. I was able to use <a href=\"http:\/\/www.grymoire.com\/Unix\/Sed.html\">sed<\/a> to rejoin the correct lines. This resulted in two files with spaces on about half of the lines in the file. Ouch.<\/p>\n<p>Thankfully <a href=\"http:\/\/www.computerhope.com\/unix\/udiff.htm\">diff<\/a> has a -b flag to ignore the spaces. Really useful in this case.<\/p>\n<p>Now&#8230; To figure out why a pattern I copy and paste from a file is not found with grep.<br \/>\n\ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amy&#8217;s dump of the CE\/Vista settings table ended up with a slightly different format than mine. I was able to use sed to rejoin the correct lines. This resulted in two files with spaces on about half of the lines in the file. Ouch. Thankfully diff has a -b flag to ignore the spaces. Really [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[22,109],"tags":[990,3053,329,3048],"class_list":["post-1019","post","type-post","status-publish","format-standard","hentry","category-bbvista","category-unix","tag-blackboard-cevista","tag-wordpress","tag-cevista","tag-unix"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1rUBW-gr","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ezrasf.com\/wplog\/wp-json\/wp\/v2\/posts\/1019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ezrasf.com\/wplog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ezrasf.com\/wplog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ezrasf.com\/wplog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ezrasf.com\/wplog\/wp-json\/wp\/v2\/comments?post=1019"}],"version-history":[{"count":0,"href":"https:\/\/www.ezrasf.com\/wplog\/wp-json\/wp\/v2\/posts\/1019\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ezrasf.com\/wplog\/wp-json\/wp\/v2\/media?parent=1019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ezrasf.com\/wplog\/wp-json\/wp\/v2\/categories?post=1019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ezrasf.com\/wplog\/wp-json\/wp\/v2\/tags?post=1019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}