{"action":"opened","issue":{"url":"https://api.github.com/repos/eaut/rsync-time-backup/issues/19","repository_url":"https://api.github.com/repos/eaut/rsync-time-backup","labels_url":"https://api.github.com/repos/eaut/rsync-time-backup/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/eaut/rsync-time-backup/issues/19/comments","events_url":"https://api.github.com/repos/eaut/rsync-time-backup/issues/19/events","html_url":"https://github.com/eaut/rsync-time-backup/issues/19","id":155108809,"number":19,"title":"Bad Substitution line 81.","user":{"login":"uglygus","id":11585473,"avatar_url":"https://avatars.githubusercontent.com/u/11585473?v=3","gravatar_id":"","url":"https://api.github.com/users/uglygus","html_url":"https://github.com/uglygus","followers_url":"https://api.github.com/users/uglygus/followers","following_url":"https://api.github.com/users/uglygus/following{/other_user}","gists_url":"https://api.github.com/users/uglygus/gists{/gist_id}","starred_url":"https://api.github.com/users/uglygus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uglygus/subscriptions","organizations_url":"https://api.github.com/users/uglygus/orgs","repos_url":"https://api.github.com/users/uglygus/repos","events_url":"https://api.github.com/users/uglygus/events{/privacy}","received_events_url":"https://api.github.com/users/uglygus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-16T19:59:45Z","updated_at":"2016-05-16T19:59:45Z","closed_at":null,"body":"Bad Substitution line 81.\r\n\r\n```\r\n$./tmbackup.sh init ~/Dektop/orig\r\nbackup location: /Users/gary/Dektop/orig \r\n./tmbackup.sh: line 81: [${TYPE^^}]: bad substitution\r\nUsage: tmbackup [OPTIONS] command [ARGS]\r\nTry 'tmbackup --help' for more information.\r\n\r\n```\r\n\r\nOSX 10.10.5\r\n\r\n```\r\n$bash --version\r\nGNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)\r\nCopyright (C) 2007 Free Software Foundation, Inc.\r\n```\r\n\r\n\r\nI honestly don't know enough BASH to understand the  double caret but removing the ^^ seemed to solve it and leave to other problems.\r\n`  [[ $TYPE == \"info\" ]] && echo \"${MSG[@]}\" || { MSG=(\"[${TYPE}]\" \"${MSG[@]}\") ; echo \"${MSG[@]}\" 1>&2 ; }`\r\n\r\n"}}