{"action":"created","issue":{"url":"https://api.github.com/repos/nvbn/thefuck/issues/326","labels_url":"https://api.github.com/repos/nvbn/thefuck/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/nvbn/thefuck/issues/326/comments","events_url":"https://api.github.com/repos/nvbn/thefuck/issues/326/events","html_url":"https://github.com/nvbn/thefuck/issues/326","id":99307444,"number":326,"title":"Add support for sudoing cat","user":{"login":"nodegin","id":8536244,"avatar_url":"https://avatars.githubusercontent.com/u/8536244?v=3","gravatar_id":"","url":"https://api.github.com/users/nodegin","html_url":"https://github.com/nodegin","followers_url":"https://api.github.com/users/nodegin/followers","following_url":"https://api.github.com/users/nodegin/following{/other_user}","gists_url":"https://api.github.com/users/nodegin/gists{/gist_id}","starred_url":"https://api.github.com/users/nodegin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodegin/subscriptions","organizations_url":"https://api.github.com/users/nodegin/orgs","repos_url":"https://api.github.com/users/nodegin/repos","events_url":"https://api.github.com/users/nodegin/events{/privacy}","received_events_url":"https://api.github.com/users/nodegin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T21:55:33Z","updated_at":"2015-08-10T22:18:34Z","closed_at":null,"body":"```bash\r\n$ cat /dev/null > /etc/nginx/logs/error.log\r\n-bash: /etc/nginx/logs/error.log: Permission denied\r\n$ fuck\r\nsudo cat /dev/null > /etc/nginx/logs/error.log [enter/ctrl+c]\r\n-bash: /etc/nginx/logs/error.log: Permission denied\r\n```\r\nit should be:\r\n```bash\r\nsudo sh -c 'cat /dev/null > /etc/nginx/logs/error.log' [enter/ctrl+c]\r\n```"},"comment":{"url":"https://api.github.com/repos/nvbn/thefuck/issues/comments/129632072","html_url":"https://github.com/nvbn/thefuck/issues/326#issuecomment-129632072","issue_url":"https://api.github.com/repos/nvbn/thefuck/issues/326","id":129632072,"user":{"login":"nvbn","id":1114542,"avatar_url":"https://avatars.githubusercontent.com/u/1114542?v=3","gravatar_id":"","url":"https://api.github.com/users/nvbn","html_url":"https://github.com/nvbn","followers_url":"https://api.github.com/users/nvbn/followers","following_url":"https://api.github.com/users/nvbn/following{/other_user}","gists_url":"https://api.github.com/users/nvbn/gists{/gist_id}","starred_url":"https://api.github.com/users/nvbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvbn/subscriptions","organizations_url":"https://api.github.com/users/nvbn/orgs","repos_url":"https://api.github.com/users/nvbn/repos","events_url":"https://api.github.com/users/nvbn/events{/privacy}","received_events_url":"https://api.github.com/users/nvbn/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T22:18:34Z","updated_at":"2015-08-10T22:18:34Z","body":"Should work in 2.7."}}