
{"id":4763,"date":"2011-03-23T12:00:51","date_gmt":"2011-03-23T12:00:51","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=4763"},"modified":"2011-03-23T12:00:51","modified_gmt":"2011-03-23T12:00:51","slug":"coreutils-ls-quoting-stylec-and-pipe-symbol-2","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/03\/23\/coreutils-ls-quoting-stylec-and-pipe-symbol-2\/","title":{"rendered":"coreutils: ls &#8211;quoting-style=c and &#124; (pipe) symbol"},"content":{"rendered":"<p><a href=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2011\/03\/debian.bug-432945.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2011\/03\/debian.bug-432945.png\" alt=\"\" title=\"debian.bug-432945\" width=\"406\" height=\"226\" class=\"alignnone size-full wp-image-4770\" \/><\/a><br \/>\n<a>http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=432945<\/a><\/p>\n<pre>\noutput of ls --quoting-style=c is incorrect when filename contains |\n(pipe) symbol.\n\nSteps:\n  mkdir \/tmp\/bla\n  touch \"\/tmp\/bla\/filename with | pipe\"\n  ls --quoting-style=c \/tmp\/bla\n\nreturns:\n\n \"filename with | pipe\"\n\nthanks,\n-Mathieu\n\nRef:\nhttp:\/\/groups.google.com\/group\/comp.lang.c\/browse_thread\/thread\/0db8070def6a4453\n\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=432945 output of ls &#8211;quoting-style=c is incorrect when filename contains | (pipe) symbol. Steps: mkdir \/tmp\/bla touch &#8220;\/tmp\/bla\/filename with | pipe&#8221; ls &#8211;quoting-style=c \/tmp\/bla returns: &#8220;filename with | pipe&#8221; thanks, -Mathieu Ref: http:\/\/groups.google.com\/group\/comp.lang.c\/browse_thread\/thread\/0db8070def6a4453<\/p>\n","protected":false},"author":1,"featured_media":4770,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/4763"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=4763"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/4763\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media\/4770"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=4763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=4763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=4763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}