{"action":"created","issue":{"url":"https://api.github.com/repos/yandex/pire/issues/15","labels_url":"https://api.github.com/repos/yandex/pire/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/yandex/pire/issues/15/comments","events_url":"https://api.github.com/repos/yandex/pire/issues/15/events","html_url":"https://github.com/yandex/pire/issues/15","id":97687767,"number":15,"title":"discrepancy in pigrep: it prints \"(stdin)\" if file is \"-\" and prints nothing if no file provided","user":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-28T11:59:59Z","updated_at":"2015-07-28T17:16:03Z","closed_at":"2015-07-28T14:44:37Z","body":"```\r\n$ echo test | pigrep '^test$'\r\ntest\r\n$ echo test | pigrep '^test$' -\r\n(stdin)test\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/yandex/pire/issues/comments/125682596","html_url":"https://github.com/yandex/pire/issues/15#issuecomment-125682596","issue_url":"https://api.github.com/repos/yandex/pire/issues/15","id":125682596,"user":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T17:16:03Z","updated_at":"2015-07-28T17:16:03Z","body":"> it prints a filename only if two or more files are given\r\n\r\nThis behaviour makes sense. Printing filename for single file is redundant.\r\n\r\nGrep prints ':' after `(standard input)`. pigrep doesn't."}}