{"id":2021,"date":"2016-06-14T20:04:19","date_gmt":"2016-06-15T01:04:19","guid":{"rendered":"https:\/\/bitpost.com\/news\/?p=2021"},"modified":"2016-06-14T20:12:26","modified_gmt":"2016-06-15T01:12:26","slug":"ls-is-wicked","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2016\/ls-is-wicked\/","title":{"rendered":"[ls] is wicked"},"content":{"rendered":"<p>I just stomped way down into a chain of scripts to find out that [ls] stopped working.<\/p>\n<p>The culprit? \u00a0<a href=\"http:\/\/www.linuxquestions.org\/questions\/linux-newbie-8\/ls-*txt*-returns-invalid-option-e-eh-529143\/\">A file that started with a dash<\/a>. \u00a0How can this problem exist? \u00a0And&#8230; without me ever having a clue until JUST NOW?<\/p>\n<p>I shall now live my live by rule of dash dash (until I forget):<\/p>\n<blockquote><p><code>ls -la -- *.txt<\/code><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I just stomped way down into a chain of scripts to find out that [ls] stopped working. The culprit? \u00a0A file that started with a dash. \u00a0How can this problem exist? \u00a0And&#8230; without me ever having a clue until JUST NOW? I shall now live my live by rule of dash dash (until I forget): [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_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,"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,"enabled":false},"version":2}},"categories":[10,2],"tags":[165,244,243,245],"class_list":["post-2021","post","type-post","status-publish","format-standard","hentry","category-tricks-tips-tools","category-chatter","tag-annoyances","tag-bash","tag-fml","tag-ls"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-wB","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/2021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=2021"}],"version-history":[{"count":6,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/2021\/revisions"}],"predecessor-version":[{"id":2027,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/2021\/revisions\/2027"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=2021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=2021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=2021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}