{"action":"closed","issue":{"url":"https://api.github.com/repos/chrsmith/codesearch/issues/25","labels_url":"https://api.github.com/repos/chrsmith/codesearch/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/codesearch/issues/25/comments","events_url":"https://api.github.com/repos/chrsmith/codesearch/issues/25/events","html_url":"https://github.com/chrsmith/codesearch/issues/25","id":59188548,"number":25,"title":"\"csearch -n\" output is 0-based, not 1-based","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/codesearch/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/codesearch/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/codesearch/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-27T04:38:47Z","updated_at":"2015-02-27T04:38:47Z","closed_at":"2015-02-27T04:38:47Z","body":"```\nMaybe this works as designed, but it caught me off guard. The line numbers \nreported by \"csearch -n\" seem to start at 0 instead of 1. This is at odds with \ne.g. grep, to which csearch compares itself in its help output. This makes it \nsomewhat awkward to use \"csearch -n\" in emacs (and presumably other editors) \nsince it numbers its lines starting at 1.\n```\n\nOriginal issue reported on code.google.com by `austin.bingham` on 11 Oct 2012 at 10:41\n* Merged into: #4"}}