{"action":"opened","number":48,"pull_request":{"url":"https://api.github.com/repos/tgraf/bmon/pulls/48","id":88473270,"html_url":"https://github.com/tgraf/bmon/pull/48","diff_url":"https://github.com/tgraf/bmon/pull/48.diff","patch_url":"https://github.com/tgraf/bmon/pull/48.patch","issue_url":"https://api.github.com/repos/tgraf/bmon/issues/48","number":48,"state":"open","locked":false,"title":"Added example to man page, switched format strings to single quotes.","user":{"login":"DoctorSher","id":823772,"avatar_url":"https://avatars.githubusercontent.com/u/823772?v=3","gravatar_id":"","url":"https://api.github.com/users/DoctorSher","html_url":"https://github.com/DoctorSher","followers_url":"https://api.github.com/users/DoctorSher/followers","following_url":"https://api.github.com/users/DoctorSher/following{/other_user}","gists_url":"https://api.github.com/users/DoctorSher/gists{/gist_id}","starred_url":"https://api.github.com/users/DoctorSher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoctorSher/subscriptions","organizations_url":"https://api.github.com/users/DoctorSher/orgs","repos_url":"https://api.github.com/users/DoctorSher/repos","events_url":"https://api.github.com/users/DoctorSher/events{/privacy}","received_events_url":"https://api.github.com/users/DoctorSher/received_events","type":"User","site_admin":false},"body":"I thought an example of the format output mode would be helpful, so I added one to the man page. I also changed the format strings in out_format.c to use single quotes instead of double quotes. This prevents the shell from evaluating our format strings as commands, since they are wrapped in `$(...)`. Lastly, I changed the long format string example to be one string as opposed to a multiline string. While the previous format looked nicer, you could not directly paste this into a bmon command and have it work correctly due to the spacing. With this format, you can do that.\r\n\r\nI made separate commits for each of these changes, so you can cherry pick what you want if you don't want the full set.","created_at":"2016-10-07T16:59:39Z","updated_at":"2016-10-07T16:59:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa5ba1fb4528f3e3aa685ed3dc8fc44b0b5608ce","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tgraf/bmon/pulls/48/commits","review_comments_url":"https://api.github.com/repos/tgraf/bmon/pulls/48/comments","review_comment_url":"https://api.github.com/repos/tgraf/bmon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgraf/bmon/issues/48/comments","statuses_url":"https://api.github.com/repos/tgraf/bmon/statuses/32d8c76b18cb829a8e8178f7508cede2a95c9c80","head":{"label":"DoctorSher:master","ref":"master","sha":"32d8c76b18cb829a8e8178f7508cede2a95c9c80","user":{"login":"DoctorSher","id":823772,"avatar_url":"https://avatars.githubusercontent.com/u/823772?v=3","gravatar_id":"","url":"https://api.github.com/users/DoctorSher","html_url":"https://github.com/DoctorSher","followers_url":"https://api.github.com/users/DoctorSher/followers","following_url":"https://api.github.com/users/DoctorSher/following{/other_user}","gists_url":"https://api.github.com/users/DoctorSher/gists{/gist_id}","starred_url":"https://api.github.com/users/DoctorSher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoctorSher/subscriptions","organizations_url":"https://api.github.com/users/DoctorSher/orgs","repos_url":"https://api.github.com/users/DoctorSher/repos","events_url":"https://api.github.com/users/DoctorSher/events{/privacy}","received_events_url":"https://api.github.com/users/DoctorSher/received_events","type":"User","site_admin":false},"repo":{"id":70263673,"name":"bmon","full_name":"DoctorSher/bmon","owner":{"login":"DoctorSher","id":823772,"avatar_url":"https://avatars.githubusercontent.com/u/823772?v=3","gravatar_id":"","url":"https://api.github.com/users/DoctorSher","html_url":"https://github.com/DoctorSher","followers_url":"https://api.github.com/users/DoctorSher/followers","following_url":"https://api.github.com/users/DoctorSher/following{/other_user}","gists_url":"https://api.github.com/users/DoctorSher/gists{/gist_id}","starred_url":"https://api.github.com/users/DoctorSher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoctorSher/subscriptions","organizations_url":"https://api.github.com/users/DoctorSher/orgs","repos_url":"https://api.github.com/users/DoctorSher/repos","events_url":"https://api.github.com/users/DoctorSher/events{/privacy}","received_events_url":"https://api.github.com/users/DoctorSher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DoctorSher/bmon","description":"bandwidth monitor and rate estimator","fork":true,"url":"https://api.github.com/repos/DoctorSher/bmon","forks_url":"https://api.github.com/repos/DoctorSher/bmon/forks","keys_url":"https://api.github.com/repos/DoctorSher/bmon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoctorSher/bmon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoctorSher/bmon/teams","hooks_url":"https://api.github.com/repos/DoctorSher/bmon/hooks","issue_events_url":"https://api.github.com/repos/DoctorSher/bmon/issues/events{/number}","events_url":"https://api.github.com/repos/DoctorSher/bmon/events","assignees_url":"https://api.github.com/repos/DoctorSher/bmon/assignees{/user}","branches_url":"https://api.github.com/repos/DoctorSher/bmon/branches{/branch}","tags_url":"https://api.github.com/repos/DoctorSher/bmon/tags","blobs_url":"https://api.github.com/repos/DoctorSher/bmon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoctorSher/bmon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoctorSher/bmon/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoctorSher/bmon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoctorSher/bmon/statuses/{sha}","languages_url":"https://api.github.com/repos/DoctorSher/bmon/languages","stargazers_url":"https://api.github.com/repos/DoctorSher/bmon/stargazers","contributors_url":"https://api.github.com/repos/DoctorSher/bmon/contributors","subscribers_url":"https://api.github.com/repos/DoctorSher/bmon/subscribers","subscription_url":"https://api.github.com/repos/DoctorSher/bmon/subscription","commits_url":"https://api.github.com/repos/DoctorSher/bmon/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoctorSher/bmon/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoctorSher/bmon/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoctorSher/bmon/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoctorSher/bmon/contents/{+path}","compare_url":"https://api.github.com/repos/DoctorSher/bmon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoctorSher/bmon/merges","archive_url":"https://api.github.com/repos/DoctorSher/bmon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoctorSher/bmon/downloads","issues_url":"https://api.github.com/repos/DoctorSher/bmon/issues{/number}","pulls_url":"https://api.github.com/repos/DoctorSher/bmon/pulls{/number}","milestones_url":"https://api.github.com/repos/DoctorSher/bmon/milestones{/number}","notifications_url":"https://api.github.com/repos/DoctorSher/bmon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoctorSher/bmon/labels{/name}","releases_url":"https://api.github.com/repos/DoctorSher/bmon/releases{/id}","deployments_url":"https://api.github.com/repos/DoctorSher/bmon/deployments","created_at":"2016-10-07T16:25:49Z","updated_at":"2016-10-07T16:25:50Z","pushed_at":"2016-10-07T16:50:30Z","git_url":"git://github.com/DoctorSher/bmon.git","ssh_url":"git@github.com:DoctorSher/bmon.git","clone_url":"https://github.com/DoctorSher/bmon.git","svn_url":"https://github.com/DoctorSher/bmon","homepage":null,"size":914,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tgraf:master","ref":"master","sha":"5cd24ffd6a952d6fa7bf2281c343b218dc95a071","user":{"login":"tgraf","id":1417913,"avatar_url":"https://avatars.githubusercontent.com/u/1417913?v=3","gravatar_id":"","url":"https://api.github.com/users/tgraf","html_url":"https://github.com/tgraf","followers_url":"https://api.github.com/users/tgraf/followers","following_url":"https://api.github.com/users/tgraf/following{/other_user}","gists_url":"https://api.github.com/users/tgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/tgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgraf/subscriptions","organizations_url":"https://api.github.com/users/tgraf/orgs","repos_url":"https://api.github.com/users/tgraf/repos","events_url":"https://api.github.com/users/tgraf/events{/privacy}","received_events_url":"https://api.github.com/users/tgraf/received_events","type":"User","site_admin":false},"repo":{"id":11199684,"name":"bmon","full_name":"tgraf/bmon","owner":{"login":"tgraf","id":1417913,"avatar_url":"https://avatars.githubusercontent.com/u/1417913?v=3","gravatar_id":"","url":"https://api.github.com/users/tgraf","html_url":"https://github.com/tgraf","followers_url":"https://api.github.com/users/tgraf/followers","following_url":"https://api.github.com/users/tgraf/following{/other_user}","gists_url":"https://api.github.com/users/tgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/tgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgraf/subscriptions","organizations_url":"https://api.github.com/users/tgraf/orgs","repos_url":"https://api.github.com/users/tgraf/repos","events_url":"https://api.github.com/users/tgraf/events{/privacy}","received_events_url":"https://api.github.com/users/tgraf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tgraf/bmon","description":"bandwidth monitor and rate estimator","fork":false,"url":"https://api.github.com/repos/tgraf/bmon","forks_url":"https://api.github.com/repos/tgraf/bmon/forks","keys_url":"https://api.github.com/repos/tgraf/bmon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgraf/bmon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgraf/bmon/teams","hooks_url":"https://api.github.com/repos/tgraf/bmon/hooks","issue_events_url":"https://api.github.com/repos/tgraf/bmon/issues/events{/number}","events_url":"https://api.github.com/repos/tgraf/bmon/events","assignees_url":"https://api.github.com/repos/tgraf/bmon/assignees{/user}","branches_url":"https://api.github.com/repos/tgraf/bmon/branches{/branch}","tags_url":"https://api.github.com/repos/tgraf/bmon/tags","blobs_url":"https://api.github.com/repos/tgraf/bmon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgraf/bmon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgraf/bmon/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgraf/bmon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgraf/bmon/statuses/{sha}","languages_url":"https://api.github.com/repos/tgraf/bmon/languages","stargazers_url":"https://api.github.com/repos/tgraf/bmon/stargazers","contributors_url":"https://api.github.com/repos/tgraf/bmon/contributors","subscribers_url":"https://api.github.com/repos/tgraf/bmon/subscribers","subscription_url":"https://api.github.com/repos/tgraf/bmon/subscription","commits_url":"https://api.github.com/repos/tgraf/bmon/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgraf/bmon/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgraf/bmon/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgraf/bmon/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgraf/bmon/contents/{+path}","compare_url":"https://api.github.com/repos/tgraf/bmon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgraf/bmon/merges","archive_url":"https://api.github.com/repos/tgraf/bmon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgraf/bmon/downloads","issues_url":"https://api.github.com/repos/tgraf/bmon/issues{/number}","pulls_url":"https://api.github.com/repos/tgraf/bmon/pulls{/number}","milestones_url":"https://api.github.com/repos/tgraf/bmon/milestones{/number}","notifications_url":"https://api.github.com/repos/tgraf/bmon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgraf/bmon/labels{/name}","releases_url":"https://api.github.com/repos/tgraf/bmon/releases{/id}","deployments_url":"https://api.github.com/repos/tgraf/bmon/deployments","created_at":"2013-07-05T13:02:33Z","updated_at":"2016-10-05T12:10:44Z","pushed_at":"2016-10-07T16:59:39Z","git_url":"git://github.com/tgraf/bmon.git","ssh_url":"git@github.com:tgraf/bmon.git","clone_url":"https://github.com/tgraf/bmon.git","svn_url":"https://github.com/tgraf/bmon","homepage":null,"size":914,"stargazers_count":219,"watchers_count":219,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":22,"mirror_url":null,"open_issues_count":9,"forks":22,"open_issues":9,"watchers":219,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgraf/bmon/pulls/48"},"html":{"href":"https://github.com/tgraf/bmon/pull/48"},"issue":{"href":"https://api.github.com/repos/tgraf/bmon/issues/48"},"comments":{"href":"https://api.github.com/repos/tgraf/bmon/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/tgraf/bmon/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/tgraf/bmon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgraf/bmon/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/tgraf/bmon/statuses/32d8c76b18cb829a8e8178f7508cede2a95c9c80"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":13,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"DoctorSher"}}