{"id":51822,"date":"2026-03-20T18:34:39","date_gmt":"2026-03-20T18:34:39","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=51822"},"modified":"2026-03-18T18:36:06","modified_gmt":"2026-03-18T18:36:06","slug":"computer-science-bash-scripting-a-few-points","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/computer-science-bash-scripting-a-few-points\/","title":{"rendered":"Computer science: Bash scripting: a few points"},"content":{"rendered":"\n<h2>Self-tutoring about Bash scripting: the tutor mentions a few hints.<\/h2>\n<p>\nThe following is according to my understanding.<\/p>\n<p>\nIt&#8217;s been a while since I&#8217;ve done any Bash scripting, so I had to re-learn a few details.<\/p>\n<p>\nWithin brackets, such as ones that denote a test or evaluation, it seems one needs a space on either side of the content.<\/p>\n<p>\nIn an opposite sense, with an equal assignment to a variable, spaces aren&#8217;t allowed either side of the equal sign.<\/p>\n<p>\nIt seems that, if one puts in or removes a space, then the text changes colour, a meaningful change has happened.<\/p>\n<p>\nSource:<\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=R0tTsdQ_9Vw&#038;list=PLT98CRl2KxKGj-VKtApD8-zCqSaN2mD4w&#038;index=7\">YouTube: Learn Linux TV<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about Bash scripting: the tutor mentions a few hints. The following is according to my understanding. It&#8217;s been a while since I&#8217;ve done any Bash scripting, so I had to re-learn a few details. Within brackets, such as ones &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/computer-science-bash-scripting-a-few-points\/\"> <span class=\"screen-reader-text\">Computer science: Bash scripting: a few points<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105],"tags":[665,2068,4169,471,4168],"class_list":["post-51822","post","type-post","status-publish","format-standard","hentry","category-computer-science","tag-bash-scripting","tag-brackets","tag-coloured-text","tag-linux","tag-spaces"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/51822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=51822"}],"version-history":[{"count":2,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/51822\/revisions"}],"predecessor-version":[{"id":51824,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/51822\/revisions\/51824"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=51822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=51822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=51822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}