{"action":"created","issue":{"url":"https://api.github.com/repos/weijianwen/SJTUThesis/issues/61","labels_url":"https://api.github.com/repos/weijianwen/SJTUThesis/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/weijianwen/SJTUThesis/issues/61/comments","events_url":"https://api.github.com/repos/weijianwen/SJTUThesis/issues/61/events","html_url":"https://github.com/weijianwen/SJTUThesis/pull/61","id":87251978,"number":61,"title":"Add word count script","user":{"login":"bluaxe","id":3824287,"avatar_url":"https://avatars.githubusercontent.com/u/3824287?v=3","gravatar_id":"","url":"https://api.github.com/users/bluaxe","html_url":"https://github.com/bluaxe","followers_url":"https://api.github.com/users/bluaxe/followers","following_url":"https://api.github.com/users/bluaxe/following{/other_user}","gists_url":"https://api.github.com/users/bluaxe/gists{/gist_id}","starred_url":"https://api.github.com/users/bluaxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluaxe/subscriptions","organizations_url":"https://api.github.com/users/bluaxe/orgs","repos_url":"https://api.github.com/users/bluaxe/repos","events_url":"https://api.github.com/users/bluaxe/events{/privacy}","received_events_url":"https://api.github.com/users/bluaxe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T07:56:41Z","updated_at":"2015-06-21T06:15:11Z","closed_at":"2015-06-11T10:16:53Z","pull_request":{"url":"https://api.github.com/repos/weijianwen/SJTUThesis/pulls/61","html_url":"https://github.com/weijianwen/SJTUThesis/pull/61","diff_url":"https://github.com/weijianwen/SJTUThesis/pull/61.diff","patch_url":"https://github.com/weijianwen/SJTUThesis/pull/61.patch"},"body":"see Makefile.\r\n\r\nmake wordcount\r\n词数    : 8063\r\n字符数  : 13382\r\n中文字数: 6821\r\n"},"comment":{"url":"https://api.github.com/repos/weijianwen/SJTUThesis/issues/comments/113866133","html_url":"https://github.com/weijianwen/SJTUThesis/pull/61#issuecomment-113866133","issue_url":"https://api.github.com/repos/weijianwen/SJTUThesis/issues/61","id":113866133,"user":{"login":"weijianwen","id":908249,"avatar_url":"https://avatars.githubusercontent.com/u/908249?v=3","gravatar_id":"","url":"https://api.github.com/users/weijianwen","html_url":"https://github.com/weijianwen","followers_url":"https://api.github.com/users/weijianwen/followers","following_url":"https://api.github.com/users/weijianwen/following{/other_user}","gists_url":"https://api.github.com/users/weijianwen/gists{/gist_id}","starred_url":"https://api.github.com/users/weijianwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weijianwen/subscriptions","organizations_url":"https://api.github.com/users/weijianwen/orgs","repos_url":"https://api.github.com/users/weijianwen/repos","events_url":"https://api.github.com/users/weijianwen/events{/privacy}","received_events_url":"https://api.github.com/users/weijianwen/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T06:15:11Z","updated_at":"2015-06-21T06:15:11Z","body":"wordcount是Makefile中的一个目标，在sjtuthesis目录下输入```make wordcount```以后会调用perl统计字数。错误提示似乎是你的Makefile中没有这个目标，你对Makefile做过修改吗？\r\n\r\n\t$ grep 'wordcount:' -A4 Makefile \r\n\twordcount:\r\n\t        @perl texcount.pl $(THESIS).tex -inc          | awk '/total/ {getline; print \"词数    :\",$$4}' \r\n\t        @perl texcount.pl $(THESIS).tex -inc -char    | awk '/total/ {getline; print \"字符数  :\",$$4}' \r\n\t        @perl texcount.pl $(THESIS).tex -inc -ch-only | awk '/total/ {getline; print \"中文字数:\",$$4}' "}}