{"id":8523,"date":"2014-03-04T19:05:27","date_gmt":"2014-03-05T00:05:27","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=8523"},"modified":"2014-03-04T19:05:27","modified_gmt":"2014-03-05T00:05:27","slug":"unintentionally-hidden-dot-files","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/03\/04\/unintentionally-hidden-dot-files\/","title":{"rendered":"Unintentionally Hidden Dot-files"},"content":{"rendered":"<p><a href=\"https:\/\/plus.google.com\/+RobPikeTheHuman\/posts\/R58WgWwN9jp\">Rob Pike<\/a> (via <a href=\"https:\/\/twitter.com\/dinhvh\/status\/440969741893505025\">Ho&agrave; V. DINH<\/a>):<\/p>\n<blockquote cite=\"https:\/\/plus.google.com\/+RobPikeTheHuman\/posts\/R58WgWwN9jp\"><p>Long ago, as the design of the Unix file system was being worked out, the entries <tt>.<\/tt> and <tt>..<\/tt> appeared, to make navigation easier. [&#8230;] When one typed <tt>ls<\/tt>, however, these files appeared, so either Ken or Dennis added a simple test to the program. It was in assembler then, but the code in question was equivalent to something like this:<\/p>\n<pre>if (name[0] == '.') continue;<\/pre>\n<p>[&#8230;]<\/p>\n<p>I&rsquo;m pretty sure the concept of a hidden file was an unintended consequence. It was certainly a mistake.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Rob Pike (via Ho&agrave; V. DINH): Long ago, as the design of the Unix file system was being worked out, the entries . and .. appeared, to make navigation easier. [&#8230;] When one typed ls, however, these files appeared, so either Ken or Dennis added a simple test to the program. It was in assembler [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[295,163],"class_list":["post-8523","post","type-post","status-publish","format-standard","hentry","category-technology","tag-history","tag-unix"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=8523"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8523\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=8523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=8523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=8523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}