{"action":"closed","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3252","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3252/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3252/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3252/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3252","id":166156063,"number":3252,"title":"Command substitution in curl","user":{"login":"krackers","id":4474219,"avatar_url":"https://avatars.githubusercontent.com/u/4474219?v=3","gravatar_id":"","url":"https://api.github.com/users/krackers","html_url":"https://github.com/krackers","followers_url":"https://api.github.com/users/krackers/followers","following_url":"https://api.github.com/users/krackers/following{/other_user}","gists_url":"https://api.github.com/users/krackers/gists{/gist_id}","starred_url":"https://api.github.com/users/krackers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krackers/subscriptions","organizations_url":"https://api.github.com/users/krackers/orgs","repos_url":"https://api.github.com/users/krackers/repos","events_url":"https://api.github.com/users/krackers/events{/privacy}","received_events_url":"https://api.github.com/users/krackers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/question","name":"question","color":"f9d0c4"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-18T18:09:03Z","updated_at":"2016-07-23T04:31:10Z","closed_at":"2016-07-23T04:31:10Z","body":"<!-- check if this problem is already solved! github.com/issues?q=is:issue+user:fish-shell -->\r\n- [x] Have you checked if problem occurs with [fish 2.3.1](/fish-shell/fish-shell/releases/tag/2.3.1)?\r\n- [x] Tried fish without third-party customizations *(check `sh -c 'env HOME=$(mktemp -d) fish'`)*?\r\n\r\n**fish version installed** *(`fish --version`)*: 2.3.1\r\n\r\n**OS/terminal used**: OSX, Terminal.app\r\n\r\nConsider the installation of homebrew, in which you run:\r\n\r\n`/usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"`\r\n\r\nOf course, `$(...)` is not valid in Fish as fish instead uses regular parentheses for command substitution so we try:\r\n\r\n`/usr/bin/ruby -e (curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)`\r\n\r\nThis doesn't work, however, as it doesn't run anything.\r\n\r\n## Expected results\r\nFish should run output of curl as a ruby script\r\n"}}
{"actor":{"display_login":"krackers"}}