
{"id":18554,"date":"2009-12-25T20:41:14","date_gmt":"2009-12-25T15:11:14","guid":{"rendered":"http:\/\/froisa.com\/?p=161"},"modified":"2009-12-25T20:41:14","modified_gmt":"2009-12-25T15:11:14","slug":"getopt-2","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2009\/12\/25\/getopt-2\/","title":{"rendered":"getopt &#8211; parse command options"},"content":{"rendered":"<pre>\ncommandline session\n\n\n$getopt hello\n --\n$getopt hello how are you ?\n -- how are you 1 c h\n$getopt hello hello are you ?\n -- hello are you 1 c h\n$getopt hello hello are yours ?\n -- hello are yours 1 c h\n$getopt hello hello are yours what ?\n -- hello are yours what 1 c h\n$getopt hello hello are yours what\n -- hello are yours what\n$getopt hello hello are yours what !\n -- hello are yours what !\n$getopt hello hello are yours what $\n -- hello are yours what $\n\nTHEORY DROP\n\n\ngetopt is used to break up (parse) options in command lines for\neasy parsing by shell procedures, and to check for legal options.\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $getopt hello &#8212; $getopt hello how are you ? &#8212; how are you 1 c h $getopt hello hello are you ? &#8212; hello are you 1 c h $getopt hello hello are yours ? &#8212; hello are yours 1 c h $getopt hello hello are yours what ? &#8212; hello are yours &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2009\/12\/25\/getopt-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;getopt &#8211; parse command options&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[821],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/18554"}],"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=18554"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/18554\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=18554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=18554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=18554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}