{"action":"created","issue":{"url":"https://api.github.com/repos/Bruce-Connor/control-pianobar/issues/5","labels_url":"https://api.github.com/repos/Bruce-Connor/control-pianobar/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Bruce-Connor/control-pianobar/issues/5/comments","events_url":"https://api.github.com/repos/Bruce-Connor/control-pianobar/issues/5/events","html_url":"https://github.com/Bruce-Connor/control-pianobar/issues/5","id":56954646,"number":5,"title":"Syntax error in pianobar-notify","user":{"login":"tully32","id":5561677,"avatar_url":"https://avatars.githubusercontent.com/u/5561677?v=3","gravatar_id":"","url":"https://api.github.com/users/tully32","html_url":"https://github.com/tully32","followers_url":"https://api.github.com/users/tully32/followers","following_url":"https://api.github.com/users/tully32/following{/other_user}","gists_url":"https://api.github.com/users/tully32/gists{/gist_id}","starred_url":"https://api.github.com/users/tully32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tully32/subscriptions","organizations_url":"https://api.github.com/users/tully32/orgs","repos_url":"https://api.github.com/users/tully32/repos","events_url":"https://api.github.com/users/tully32/events{/privacy}","received_events_url":"https://api.github.com/users/tully32/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-08T15:13:30Z","updated_at":"2015-02-08T16:05:07Z","closed_at":null,"body":"When attempting to run pianobar-notify.sh I receive this error. \r\n\r\narchie@arch pianobar]$ sh pianobar-notify.sh \r\npianobar-notify.sh: line 81: syntax error near unexpected token `<'\r\npianobar-notify.sh: line 81: `done < <(grep -e '^\\(title\\|artist\\|album\\|stationName\\|songStationName\\|pRet\\|pRetStr\\|wRet\\|wRetStr\\|songDuration\\|songPlayed\\|rating\\|coverArt\\|stationCount\\|station[0-9]\\+\\)=' /dev/stdin) # don't overwrite $1...'\r\n[archie@arch pianobar]$ ls\r\nalbumart  config  control-pianobar.sh  ctl  isplaying  log  pandora.jpg  pianobar-notify.sh  README.md  state\r\n\r\n\"control-pianobar.sh p\" will start pianobar and run if I have autostart_station in my conf otherwise it just freezes and the gtk window to show stations never comes up. I see the initial notify-send stating \"Starting Pianobar\" but nothing after. It also never creates any of the files required by pianobar-notify. "},"comment":{"url":"https://api.github.com/repos/Bruce-Connor/control-pianobar/issues/comments/73417177","html_url":"https://github.com/Bruce-Connor/control-pianobar/issues/5#issuecomment-73417177","issue_url":"https://api.github.com/repos/Bruce-Connor/control-pianobar/issues/5","id":73417177,"user":{"login":"Bruce-Connor","id":453029,"avatar_url":"https://avatars.githubusercontent.com/u/453029?v=3","gravatar_id":"","url":"https://api.github.com/users/Bruce-Connor","html_url":"https://github.com/Bruce-Connor","followers_url":"https://api.github.com/users/Bruce-Connor/followers","following_url":"https://api.github.com/users/Bruce-Connor/following{/other_user}","gists_url":"https://api.github.com/users/Bruce-Connor/gists{/gist_id}","starred_url":"https://api.github.com/users/Bruce-Connor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bruce-Connor/subscriptions","organizations_url":"https://api.github.com/users/Bruce-Connor/orgs","repos_url":"https://api.github.com/users/Bruce-Connor/repos","events_url":"https://api.github.com/users/Bruce-Connor/events{/privacy}","received_events_url":"https://api.github.com/users/Bruce-Connor/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T16:05:07Z","updated_at":"2015-02-08T16:05:07Z","body":"Have you tried running it with bash instead of sh?"}}