
{"id":7467,"date":"2012-08-02T16:18:01","date_gmt":"2012-08-02T16:18:01","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7467"},"modified":"2012-08-02T16:18:01","modified_gmt":"2012-08-02T16:18:01","slug":"and-operators-combination-example","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/08\/02\/and-operators-combination-example\/","title":{"rendered":"How does  &amp;&amp; and || operators combination Work ?"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre style=\"width:50%;border-color:#ffb502;border-radius:3%;\">\n$ 4.2.29 10 510---&gt; [ -f wordmatc.c ] || echo hello\nhello\n$ 4.2.29 11 511---&gt; [ -f wordmatc.c ] || cat baty &amp;&amp; echo hello\ncat: baty: No such file or directory\n$ 4.2.29 12 512---&gt; [ -f wordmatc.c ] &amp;&amp; echo hello || echo kitten\nkitten\n$ 4.2.29 13 513---&gt; [ -f wordmatch.c ] &amp;&amp; echo hello || echo kitten\nhello\n$ 4.2.29 14 514---&gt; ls wor\nwordmatch.c                                 worked\nwordpress-functions-outside-wordpress.html  work-selection.php\n$ 4.2.29 14 514---&gt; ls wordmatch.c\nwordmatch.c\n$ 4.2.29 15 515---&gt; ls wordmatc.c\nls: cannot access wordmatc.c: No such file or directory\n$ 4.2.29 16 516---&gt;\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $ 4.2.29 10 510&#8212;&gt; [ -f wordmatc.c ] || echo hello hello $ 4.2.29 11 511&#8212;&gt; [ -f wordmatc.c ] || cat baty &amp;&amp; echo hello cat: baty: No such file or directory $ 4.2.29 12 512&#8212;&gt; [ -f wordmatc.c ] &amp;&amp; echo hello || echo kitten kitten $ 4.2.29 13 513&#8212;&gt; [ &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/08\/02\/and-operators-combination-example\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How does  &amp;&amp; and || operators combination Work ?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,83,91],"tags":[1361,1437],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7467"}],"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=7467"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7467\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}