{"action":"closed","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2527","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2527/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2527/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2527/events","html_url":"https://github.com/fish-shell/fish-shell/issues/2527","id":115466281,"number":2527,"title":"Shouldn't run scripts with #!/bin/sh as not POSIX compatible","user":{"login":"sdroege","id":301846,"avatar_url":"https://avatars.githubusercontent.com/u/301846?v=3","gravatar_id":"","url":"https://api.github.com/users/sdroege","html_url":"https://github.com/sdroege","followers_url":"https://api.github.com/users/sdroege/followers","following_url":"https://api.github.com/users/sdroege/following{/other_user}","gists_url":"https://api.github.com/users/sdroege/gists{/gist_id}","starred_url":"https://api.github.com/users/sdroege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdroege/subscriptions","organizations_url":"https://api.github.com/users/sdroege/orgs","repos_url":"https://api.github.com/users/sdroege/repos","events_url":"https://api.github.com/users/sdroege/events{/privacy}","received_events_url":"https://api.github.com/users/sdroege/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-06T09:22:49Z","updated_at":"2015-11-06T09:45:32Z","closed_at":"2015-11-06T09:45:32Z","body":"fish should not run any scripts that use #!/bin/sh directly, e.g. when explicitly running such script from fish itself. As fish is not POSIX compatible, most of such scripts are going to fail in interesting ways.\r\nIt would be better to just use the real /bin/sh then"}}