{"action":"created","issue":{"url":"https://api.github.com/repos/uutils/coreutils/issues/820","repository_url":"https://api.github.com/repos/uutils/coreutils","labels_url":"https://api.github.com/repos/uutils/coreutils/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/uutils/coreutils/issues/820/comments","events_url":"https://api.github.com/repos/uutils/coreutils/issues/820/events","html_url":"https://github.com/uutils/coreutils/pull/820","id":134130359,"number":820,"title":"cat: --squeeze-blank keeps up to one blank line","user":{"login":"nathanross","id":6265059,"avatar_url":"https://avatars.githubusercontent.com/u/6265059?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanross","html_url":"https://github.com/nathanross","followers_url":"https://api.github.com/users/nathanross/followers","following_url":"https://api.github.com/users/nathanross/following{/other_user}","gists_url":"https://api.github.com/users/nathanross/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanross/subscriptions","organizations_url":"https://api.github.com/users/nathanross/orgs","repos_url":"https://api.github.com/users/nathanross/repos","events_url":"https://api.github.com/users/nathanross/events{/privacy}","received_events_url":"https://api.github.com/users/nathanross/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-16T23:49:07Z","updated_at":"2016-02-17T04:51:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/uutils/coreutils/pulls/820","html_url":"https://github.com/uutils/coreutils/pull/820","diff_url":"https://github.com/uutils/coreutils/pull/820.diff","patch_url":"https://github.com/uutils/coreutils/pull/820.patch"},"body":"minor fix, matches the behavior of GNU ```cat --squeeze-blank``` to keep up to 1 blank line in a row for all groups of blank lines\r\n\r\n```printf \"a\\n\\n\\nb\\n\" | cat -s```\r\n\r\nnow results in:\r\n\r\n```\r\na\r\n\r\nb\r\n```"},"comment":{"url":"https://api.github.com/repos/uutils/coreutils/issues/comments/185022429","html_url":"https://github.com/uutils/coreutils/pull/820#issuecomment-185022429","issue_url":"https://api.github.com/repos/uutils/coreutils/issues/820","id":185022429,"user":{"login":"Heather","id":2656965,"avatar_url":"https://avatars.githubusercontent.com/u/2656965?v=3","gravatar_id":"","url":"https://api.github.com/users/Heather","html_url":"https://github.com/Heather","followers_url":"https://api.github.com/users/Heather/followers","following_url":"https://api.github.com/users/Heather/following{/other_user}","gists_url":"https://api.github.com/users/Heather/gists{/gist_id}","starred_url":"https://api.github.com/users/Heather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Heather/subscriptions","organizations_url":"https://api.github.com/users/Heather/orgs","repos_url":"https://api.github.com/users/Heather/repos","events_url":"https://api.github.com/users/Heather/events{/privacy}","received_events_url":"https://api.github.com/users/Heather/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T04:51:27Z","updated_at":"2016-02-17T04:51:27Z","body":"will it work for printf \"a\\n\\n\\nb\\na\\n\\n\\nb\\n\" | cat -s"}}