
{"id":7721,"date":"2012-10-08T13:42:47","date_gmt":"2012-10-08T13:42:47","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7721"},"modified":"2012-10-08T13:42:47","modified_gmt":"2012-10-08T13:42:47","slug":"bash_versinfo-a-readonly-array-variable","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/10\/08\/bash_versinfo-a-readonly-array-variable\/","title":{"rendered":"BASH_VERSINFO   A readonly array variable"},"content":{"rendered":"<h4>commandline session<\/h4>\n<pre>\n$ 4.2.36 2 501---&gt; echo BASH_VERSINFO[0]\nBASH_VERSINFO[0]\n$ 4.2.36 3 502---&gt; echo $BASH_VERSINFO[0]\n4[0]\n$ 4.2.36 4 503---&gt; echo $BASH_VERSINFO\n4\n$ 4.2.36 5 504---&gt; echo $BASH_VERSINFO[1]\n4[1]\n$ 4.2.36 6 505---&gt; echo BASH_VERSINFO[1]\nBASH_VERSINFO[1]\n$ 4.2.36 7 506---&gt; echo \"BASH_VERSINFO[1]\"\nBASH_VERSINFO[1]\n$ 4.2.36 8 507---&gt; echo BASH_VERSINFO(1)\nbash: syntax error near unexpected token `('\n$ 4.2.36 8 508---&gt; echo BASH_VERSINFO[4]\nBASH_VERSINFO[4]\n$ 4.2.36 9 509---&gt; echo $BASH_VERSINFO[4]\n4[4]\n$ 4.2.36 10 510---&gt; echo ?BASH_VERSINFO[4]\n?BASH_VERSINFO[4]\n$ 4.2.36 11 511---&gt; echo !BASH_VERSINFO[4]\nbash: !BASH_VERSINFO[4]: event not found\n$ 4.2.36 11 511---&gt; echo ?BASH_VERSINFO[4]\n?BASH_VERSINFO[4]\n$ 4.2.36 12 512---&gt;\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $ 4.2.36 2 501&#8212;&gt; echo BASH_VERSINFO[0] BASH_VERSINFO[0] $ 4.2.36 3 502&#8212;&gt; echo $BASH_VERSINFO[0] 4[0] $ 4.2.36 4 503&#8212;&gt; echo $BASH_VERSINFO 4 $ 4.2.36 5 504&#8212;&gt; echo $BASH_VERSINFO[1] 4[1] $ 4.2.36 6 505&#8212;&gt; echo BASH_VERSINFO[1] BASH_VERSINFO[1] $ 4.2.36 7 506&#8212;&gt; echo &#8220;BASH_VERSINFO[1]&#8221; BASH_VERSINFO[1] $ 4.2.36 8 507&#8212;&gt; echo BASH_VERSINFO(1) bash: syntax error near unexpected &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/10\/08\/bash_versinfo-a-readonly-array-variable\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;BASH_VERSINFO   A readonly array variable&#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":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7721"}],"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=7721"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7721\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}