{"action":"created","comment":{"url":"https://api.github.com/repos/course-hero/slacktee/pulls/comments/75298668","id":75298668,"diff_hunk":"@@ -77,7 +92,9 @@ function send_message()\n \t\tfound_pattern_prefix=\"\"\n \tfi\n \n-\tescaped_message=$(echo \"$textWrapper\\n$message\\n$textWrapper\" | sed 's/\"/\\\\\"/g' | sed \"s/'/\\\\'/g\" )\n+\tescaped_message=$(echo \"$textWrapper\\n$message\\n$textWrapper\" \\","path":"slacktee.sh","position":83,"original_position":83,"commit_id":"a81af7b0d34eb751f5378768d80afedda0e7f47f","original_commit_id":"a81af7b0d34eb751f5378768d80afedda0e7f47f","user":{"login":"dgengtek","id":13528886,"avatar_url":"https://avatars.githubusercontent.com/u/13528886?v=3","gravatar_id":"","url":"https://api.github.com/users/dgengtek","html_url":"https://github.com/dgengtek","followers_url":"https://api.github.com/users/dgengtek/followers","following_url":"https://api.github.com/users/dgengtek/following{/other_user}","gists_url":"https://api.github.com/users/dgengtek/gists{/gist_id}","starred_url":"https://api.github.com/users/dgengtek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgengtek/subscriptions","organizations_url":"https://api.github.com/users/dgengtek/orgs","repos_url":"https://api.github.com/users/dgengtek/repos","events_url":"https://api.github.com/users/dgengtek/events{/privacy}","received_events_url":"https://api.github.com/users/dgengtek/received_events","type":"User","site_admin":false},"body":"Was wondering why the message is wrapped to make code blocks.","created_at":"2016-08-18T12:31:42Z","updated_at":"2016-08-18T12:31:42Z","html_url":"https://github.com/course-hero/slacktee/pull/32#discussion_r75298668","pull_request_url":"https://api.github.com/repos/course-hero/slacktee/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/course-hero/slacktee/pulls/comments/75298668"},"html":{"href":"https://github.com/course-hero/slacktee/pull/32#discussion_r75298668"},"pull_request":{"href":"https://api.github.com/repos/course-hero/slacktee/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/course-hero/slacktee/pulls/32","id":81517702,"html_url":"https://github.com/course-hero/slacktee/pull/32","diff_url":"https://github.com/course-hero/slacktee/pull/32.diff","patch_url":"https://github.com/course-hero/slacktee/pull/32.patch","issue_url":"https://api.github.com/repos/course-hero/slacktee/issues/32","number":32,"state":"open","locked":false,"title":"Formatting and code restructure","user":{"login":"dgengtek","id":13528886,"avatar_url":"https://avatars.githubusercontent.com/u/13528886?v=3","gravatar_id":"","url":"https://api.github.com/users/dgengtek","html_url":"https://github.com/dgengtek","followers_url":"https://api.github.com/users/dgengtek/followers","following_url":"https://api.github.com/users/dgengtek/following{/other_user}","gists_url":"https://api.github.com/users/dgengtek/gists{/gist_id}","starred_url":"https://api.github.com/users/dgengtek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgengtek/subscriptions","organizations_url":"https://api.github.com/users/dgengtek/orgs","repos_url":"https://api.github.com/users/dgengtek/repos","events_url":"https://api.github.com/users/dgengtek/events{/privacy}","received_events_url":"https://api.github.com/users/dgengtek/received_events","type":"User","site_admin":false},"body":"* backslashes escaped in escaped message\r\n* error messages redirected to stderr\r\n* using main function for program entrypoint\r\n* help message displayed with heredoc for better editing\r\n* formatted most strings where appropiate to 80 width\r\n\r\nThere shouldn't be any changes in functionality.\r\n\r\nFeel free to mention anything.\r\n\r\n","created_at":"2016-08-16T18:08:07Z","updated_at":"2016-08-18T12:31:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbe72d542714e64022c9e5d47b5444ac1ae6447c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/course-hero/slacktee/pulls/32/commits","review_comments_url":"https://api.github.com/repos/course-hero/slacktee/pulls/32/comments","review_comment_url":"https://api.github.com/repos/course-hero/slacktee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/course-hero/slacktee/issues/32/comments","statuses_url":"https://api.github.com/repos/course-hero/slacktee/statuses/a81af7b0d34eb751f5378768d80afedda0e7f47f","head":{"label":"dgengtek:master","ref":"master","sha":"a81af7b0d34eb751f5378768d80afedda0e7f47f","user":{"login":"dgengtek","id":13528886,"avatar_url":"https://avatars.githubusercontent.com/u/13528886?v=3","gravatar_id":"","url":"https://api.github.com/users/dgengtek","html_url":"https://github.com/dgengtek","followers_url":"https://api.github.com/users/dgengtek/followers","following_url":"https://api.github.com/users/dgengtek/following{/other_user}","gists_url":"https://api.github.com/users/dgengtek/gists{/gist_id}","starred_url":"https://api.github.com/users/dgengtek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgengtek/subscriptions","organizations_url":"https://api.github.com/users/dgengtek/orgs","repos_url":"https://api.github.com/users/dgengtek/repos","events_url":"https://api.github.com/users/dgengtek/events{/privacy}","received_events_url":"https://api.github.com/users/dgengtek/received_events","type":"User","site_admin":false},"repo":{"id":65770447,"name":"slacktee","full_name":"dgengtek/slacktee","owner":{"login":"dgengtek","id":13528886,"avatar_url":"https://avatars.githubusercontent.com/u/13528886?v=3","gravatar_id":"","url":"https://api.github.com/users/dgengtek","html_url":"https://github.com/dgengtek","followers_url":"https://api.github.com/users/dgengtek/followers","following_url":"https://api.github.com/users/dgengtek/following{/other_user}","gists_url":"https://api.github.com/users/dgengtek/gists{/gist_id}","starred_url":"https://api.github.com/users/dgengtek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgengtek/subscriptions","organizations_url":"https://api.github.com/users/dgengtek/orgs","repos_url":"https://api.github.com/users/dgengtek/repos","events_url":"https://api.github.com/users/dgengtek/events{/privacy}","received_events_url":"https://api.github.com/users/dgengtek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dgengtek/slacktee","description":"slacktee is a bash script that works like tee command. Instead of writing the standard input to files, slacktee posts it to Slack.","fork":true,"url":"https://api.github.com/repos/dgengtek/slacktee","forks_url":"https://api.github.com/repos/dgengtek/slacktee/forks","keys_url":"https://api.github.com/repos/dgengtek/slacktee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgengtek/slacktee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgengtek/slacktee/teams","hooks_url":"https://api.github.com/repos/dgengtek/slacktee/hooks","issue_events_url":"https://api.github.com/repos/dgengtek/slacktee/issues/events{/number}","events_url":"https://api.github.com/repos/dgengtek/slacktee/events","assignees_url":"https://api.github.com/repos/dgengtek/slacktee/assignees{/user}","branches_url":"https://api.github.com/repos/dgengtek/slacktee/branches{/branch}","tags_url":"https://api.github.com/repos/dgengtek/slacktee/tags","blobs_url":"https://api.github.com/repos/dgengtek/slacktee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgengtek/slacktee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgengtek/slacktee/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgengtek/slacktee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgengtek/slacktee/statuses/{sha}","languages_url":"https://api.github.com/repos/dgengtek/slacktee/languages","stargazers_url":"https://api.github.com/repos/dgengtek/slacktee/stargazers","contributors_url":"https://api.github.com/repos/dgengtek/slacktee/contributors","subscribers_url":"https://api.github.com/repos/dgengtek/slacktee/subscribers","subscription_url":"https://api.github.com/repos/dgengtek/slacktee/subscription","commits_url":"https://api.github.com/repos/dgengtek/slacktee/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgengtek/slacktee/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgengtek/slacktee/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgengtek/slacktee/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgengtek/slacktee/contents/{+path}","compare_url":"https://api.github.com/repos/dgengtek/slacktee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgengtek/slacktee/merges","archive_url":"https://api.github.com/repos/dgengtek/slacktee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgengtek/slacktee/downloads","issues_url":"https://api.github.com/repos/dgengtek/slacktee/issues{/number}","pulls_url":"https://api.github.com/repos/dgengtek/slacktee/pulls{/number}","milestones_url":"https://api.github.com/repos/dgengtek/slacktee/milestones{/number}","notifications_url":"https://api.github.com/repos/dgengtek/slacktee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgengtek/slacktee/labels{/name}","releases_url":"https://api.github.com/repos/dgengtek/slacktee/releases{/id}","deployments_url":"https://api.github.com/repos/dgengtek/slacktee/deployments","created_at":"2016-08-15T22:55:19Z","updated_at":"2016-08-15T22:55:20Z","pushed_at":"2016-08-18T00:04:24Z","git_url":"git://github.com/dgengtek/slacktee.git","ssh_url":"git@github.com:dgengtek/slacktee.git","clone_url":"https://github.com/dgengtek/slacktee.git","svn_url":"https://github.com/dgengtek/slacktee","homepage":"","size":210,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"course-hero:master","ref":"master","sha":"8a0f17b57214de9a63eaa9e116de4e07c0d97cab","user":{"login":"course-hero","id":9453789,"avatar_url":"https://avatars.githubusercontent.com/u/9453789?v=3","gravatar_id":"","url":"https://api.github.com/users/course-hero","html_url":"https://github.com/course-hero","followers_url":"https://api.github.com/users/course-hero/followers","following_url":"https://api.github.com/users/course-hero/following{/other_user}","gists_url":"https://api.github.com/users/course-hero/gists{/gist_id}","starred_url":"https://api.github.com/users/course-hero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/course-hero/subscriptions","organizations_url":"https://api.github.com/users/course-hero/orgs","repos_url":"https://api.github.com/users/course-hero/repos","events_url":"https://api.github.com/users/course-hero/events{/privacy}","received_events_url":"https://api.github.com/users/course-hero/received_events","type":"Organization","site_admin":false},"repo":{"id":26570526,"name":"slacktee","full_name":"course-hero/slacktee","owner":{"login":"course-hero","id":9453789,"avatar_url":"https://avatars.githubusercontent.com/u/9453789?v=3","gravatar_id":"","url":"https://api.github.com/users/course-hero","html_url":"https://github.com/course-hero","followers_url":"https://api.github.com/users/course-hero/followers","following_url":"https://api.github.com/users/course-hero/following{/other_user}","gists_url":"https://api.github.com/users/course-hero/gists{/gist_id}","starred_url":"https://api.github.com/users/course-hero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/course-hero/subscriptions","organizations_url":"https://api.github.com/users/course-hero/orgs","repos_url":"https://api.github.com/users/course-hero/repos","events_url":"https://api.github.com/users/course-hero/events{/privacy}","received_events_url":"https://api.github.com/users/course-hero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/course-hero/slacktee","description":"slacktee is a bash script that works like tee command. Instead of writing the standard input to files, slacktee posts it to Slack.","fork":false,"url":"https://api.github.com/repos/course-hero/slacktee","forks_url":"https://api.github.com/repos/course-hero/slacktee/forks","keys_url":"https://api.github.com/repos/course-hero/slacktee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/course-hero/slacktee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/course-hero/slacktee/teams","hooks_url":"https://api.github.com/repos/course-hero/slacktee/hooks","issue_events_url":"https://api.github.com/repos/course-hero/slacktee/issues/events{/number}","events_url":"https://api.github.com/repos/course-hero/slacktee/events","assignees_url":"https://api.github.com/repos/course-hero/slacktee/assignees{/user}","branches_url":"https://api.github.com/repos/course-hero/slacktee/branches{/branch}","tags_url":"https://api.github.com/repos/course-hero/slacktee/tags","blobs_url":"https://api.github.com/repos/course-hero/slacktee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/course-hero/slacktee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/course-hero/slacktee/git/refs{/sha}","trees_url":"https://api.github.com/repos/course-hero/slacktee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/course-hero/slacktee/statuses/{sha}","languages_url":"https://api.github.com/repos/course-hero/slacktee/languages","stargazers_url":"https://api.github.com/repos/course-hero/slacktee/stargazers","contributors_url":"https://api.github.com/repos/course-hero/slacktee/contributors","subscribers_url":"https://api.github.com/repos/course-hero/slacktee/subscribers","subscription_url":"https://api.github.com/repos/course-hero/slacktee/subscription","commits_url":"https://api.github.com/repos/course-hero/slacktee/commits{/sha}","git_commits_url":"https://api.github.com/repos/course-hero/slacktee/git/commits{/sha}","comments_url":"https://api.github.com/repos/course-hero/slacktee/comments{/number}","issue_comment_url":"https://api.github.com/repos/course-hero/slacktee/issues/comments{/number}","contents_url":"https://api.github.com/repos/course-hero/slacktee/contents/{+path}","compare_url":"https://api.github.com/repos/course-hero/slacktee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/course-hero/slacktee/merges","archive_url":"https://api.github.com/repos/course-hero/slacktee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/course-hero/slacktee/downloads","issues_url":"https://api.github.com/repos/course-hero/slacktee/issues{/number}","pulls_url":"https://api.github.com/repos/course-hero/slacktee/pulls{/number}","milestones_url":"https://api.github.com/repos/course-hero/slacktee/milestones{/number}","notifications_url":"https://api.github.com/repos/course-hero/slacktee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/course-hero/slacktee/labels{/name}","releases_url":"https://api.github.com/repos/course-hero/slacktee/releases{/id}","deployments_url":"https://api.github.com/repos/course-hero/slacktee/deployments","created_at":"2014-11-13T04:23:20Z","updated_at":"2016-08-18T10:51:13Z","pushed_at":"2016-08-18T00:04:24Z","git_url":"git://github.com/course-hero/slacktee.git","ssh_url":"git@github.com:course-hero/slacktee.git","clone_url":"https://github.com/course-hero/slacktee.git","svn_url":"https://github.com/course-hero/slacktee","homepage":"","size":201,"stargazers_count":227,"watchers_count":227,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":3,"forks":39,"open_issues":3,"watchers":227,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/course-hero/slacktee/pulls/32"},"html":{"href":"https://github.com/course-hero/slacktee/pull/32"},"issue":{"href":"https://api.github.com/repos/course-hero/slacktee/issues/32"},"comments":{"href":"https://api.github.com/repos/course-hero/slacktee/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/course-hero/slacktee/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/course-hero/slacktee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/course-hero/slacktee/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/course-hero/slacktee/statuses/a81af7b0d34eb751f5378768d80afedda0e7f47f"}}}}
{"actor":{"display_login":"dgengtek"}}