{"action":"created","comment":{"url":"https://api.github.com/repos/drone/drone/pulls/comments/40827297","id":40827297,"diff_hunk":"@@ -9,7 +9,7 @@ ADD . /gopath/src/github.com/drone/drone/\n WORKDIR /gopath/src/github.com/drone/drone\n \n RUN apt-get update\n-RUN apt-get -y install zip libsqlite3-dev sqlite3 1> /dev/null 2> /dev/null\n+RUN apt-get -y install zip libsqlite3-dev sqlite3 >/dev/null 2>&1","path":"Dockerfile","position":5,"original_position":5,"commit_id":"24a7461fe882174ed5d6cb9a56299b3dd0b00d2f","original_commit_id":"24a7461fe882174ed5d6cb9a56299b3dd0b00d2f","user":{"login":"dangra","id":37369,"avatar_url":"https://avatars.githubusercontent.com/u/37369?v=3","gravatar_id":"","url":"https://api.github.com/users/dangra","html_url":"https://github.com/dangra","followers_url":"https://api.github.com/users/dangra/followers","following_url":"https://api.github.com/users/dangra/following{/other_user}","gists_url":"https://api.github.com/users/dangra/gists{/gist_id}","starred_url":"https://api.github.com/users/dangra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dangra/subscriptions","organizations_url":"https://api.github.com/users/dangra/orgs","repos_url":"https://api.github.com/users/dangra/repos","events_url":"https://api.github.com/users/dangra/events{/privacy}","received_events_url":"https://api.github.com/users/dangra/received_events","type":"User","site_admin":false},"body":"then what about using the even shorter syntax instead `&>/dev/null` \r\n\r\nSource from [bash manpage](http://www.gnu.org/software/bash/manual/bash.html#Redirecting-Standard-Output-and-Standard-Error)\r\n\r\n> 3.6.4 Redirecting Standard Output and Standard Error\r\n>\r\n> This construct allows both the standard output (file descriptor 1) and the standard error output (file descriptor 2) to be redirected to the file whose name is the expansion of word.\r\n>\r\n> There are two formats for redirecting standard output and standard error:\r\n>\r\n>     &>word\r\n>\r\n> and\r\n>\r\n>     >&word\r\n>\r\n> Of the two forms, the first is preferred. This is semantically equivalent to\r\n>\r\n>     >>word 2>&1\r\n>","created_at":"2015-09-30T17:54:58Z","updated_at":"2015-09-30T17:54:58Z","html_url":"https://github.com/drone/drone/pull/1213#discussion_r40827297","pull_request_url":"https://api.github.com/repos/drone/drone/pulls/1213","_links":{"self":{"href":"https://api.github.com/repos/drone/drone/pulls/comments/40827297"},"html":{"href":"https://github.com/drone/drone/pull/1213#discussion_r40827297"},"pull_request":{"href":"https://api.github.com/repos/drone/drone/pulls/1213"}}},"pull_request":{"url":"https://api.github.com/repos/drone/drone/pulls/1213","id":45917701,"html_url":"https://github.com/drone/drone/pull/1213","diff_url":"https://github.com/drone/drone/pull/1213.diff","patch_url":"https://github.com/drone/drone/pull/1213.patch","issue_url":"https://api.github.com/repos/drone/drone/issues/1213","number":1213,"state":"open","locked":false,"title":"Update Dockerfile","user":{"login":"desimone","id":1544881,"avatar_url":"https://avatars.githubusercontent.com/u/1544881?v=3","gravatar_id":"","url":"https://api.github.com/users/desimone","html_url":"https://github.com/desimone","followers_url":"https://api.github.com/users/desimone/followers","following_url":"https://api.github.com/users/desimone/following{/other_user}","gists_url":"https://api.github.com/users/desimone/gists{/gist_id}","starred_url":"https://api.github.com/users/desimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desimone/subscriptions","organizations_url":"https://api.github.com/users/desimone/orgs","repos_url":"https://api.github.com/users/desimone/repos","events_url":"https://api.github.com/users/desimone/events{/privacy}","received_events_url":"https://api.github.com/users/desimone/received_events","type":"User","site_admin":false},"body":"Prefer the shorter, more ubiquitous equivalent of `>/dev/null 2>&1` to  `1> /dev/null 2> /dev/null` .\r\n\r\nForgive my OCD twitch.","created_at":"2015-09-24T16:17:37Z","updated_at":"2015-09-30T17:54:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"020915edcf09f00eff7343f546e74f7778a91904","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/drone/drone/pulls/1213/commits","review_comments_url":"https://api.github.com/repos/drone/drone/pulls/1213/comments","review_comment_url":"https://api.github.com/repos/drone/drone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drone/drone/issues/1213/comments","statuses_url":"https://api.github.com/repos/drone/drone/statuses/24a7461fe882174ed5d6cb9a56299b3dd0b00d2f","head":{"label":"desimone:patch-1","ref":"patch-1","sha":"24a7461fe882174ed5d6cb9a56299b3dd0b00d2f","user":{"login":"desimone","id":1544881,"avatar_url":"https://avatars.githubusercontent.com/u/1544881?v=3","gravatar_id":"","url":"https://api.github.com/users/desimone","html_url":"https://github.com/desimone","followers_url":"https://api.github.com/users/desimone/followers","following_url":"https://api.github.com/users/desimone/following{/other_user}","gists_url":"https://api.github.com/users/desimone/gists{/gist_id}","starred_url":"https://api.github.com/users/desimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desimone/subscriptions","organizations_url":"https://api.github.com/users/desimone/orgs","repos_url":"https://api.github.com/users/desimone/repos","events_url":"https://api.github.com/users/desimone/events{/privacy}","received_events_url":"https://api.github.com/users/desimone/received_events","type":"User","site_admin":false},"repo":{"id":43078157,"name":"drone","full_name":"desimone/drone","owner":{"login":"desimone","id":1544881,"avatar_url":"https://avatars.githubusercontent.com/u/1544881?v=3","gravatar_id":"","url":"https://api.github.com/users/desimone","html_url":"https://github.com/desimone","followers_url":"https://api.github.com/users/desimone/followers","following_url":"https://api.github.com/users/desimone/following{/other_user}","gists_url":"https://api.github.com/users/desimone/gists{/gist_id}","starred_url":"https://api.github.com/users/desimone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desimone/subscriptions","organizations_url":"https://api.github.com/users/desimone/orgs","repos_url":"https://api.github.com/users/desimone/repos","events_url":"https://api.github.com/users/desimone/events{/privacy}","received_events_url":"https://api.github.com/users/desimone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/desimone/drone","description":"Drone is a Continuous Integration platform built on Docker, written in Go","fork":true,"url":"https://api.github.com/repos/desimone/drone","forks_url":"https://api.github.com/repos/desimone/drone/forks","keys_url":"https://api.github.com/repos/desimone/drone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/desimone/drone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/desimone/drone/teams","hooks_url":"https://api.github.com/repos/desimone/drone/hooks","issue_events_url":"https://api.github.com/repos/desimone/drone/issues/events{/number}","events_url":"https://api.github.com/repos/desimone/drone/events","assignees_url":"https://api.github.com/repos/desimone/drone/assignees{/user}","branches_url":"https://api.github.com/repos/desimone/drone/branches{/branch}","tags_url":"https://api.github.com/repos/desimone/drone/tags","blobs_url":"https://api.github.com/repos/desimone/drone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/desimone/drone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/desimone/drone/git/refs{/sha}","trees_url":"https://api.github.com/repos/desimone/drone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/desimone/drone/statuses/{sha}","languages_url":"https://api.github.com/repos/desimone/drone/languages","stargazers_url":"https://api.github.com/repos/desimone/drone/stargazers","contributors_url":"https://api.github.com/repos/desimone/drone/contributors","subscribers_url":"https://api.github.com/repos/desimone/drone/subscribers","subscription_url":"https://api.github.com/repos/desimone/drone/subscription","commits_url":"https://api.github.com/repos/desimone/drone/commits{/sha}","git_commits_url":"https://api.github.com/repos/desimone/drone/git/commits{/sha}","comments_url":"https://api.github.com/repos/desimone/drone/comments{/number}","issue_comment_url":"https://api.github.com/repos/desimone/drone/issues/comments{/number}","contents_url":"https://api.github.com/repos/desimone/drone/contents/{+path}","compare_url":"https://api.github.com/repos/desimone/drone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/desimone/drone/merges","archive_url":"https://api.github.com/repos/desimone/drone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/desimone/drone/downloads","issues_url":"https://api.github.com/repos/desimone/drone/issues{/number}","pulls_url":"https://api.github.com/repos/desimone/drone/pulls{/number}","milestones_url":"https://api.github.com/repos/desimone/drone/milestones{/number}","notifications_url":"https://api.github.com/repos/desimone/drone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/desimone/drone/labels{/name}","releases_url":"https://api.github.com/repos/desimone/drone/releases{/id}","created_at":"2015-09-24T16:14:14Z","updated_at":"2015-09-24T16:14:16Z","pushed_at":"2015-09-24T16:17:28Z","git_url":"git://github.com/desimone/drone.git","ssh_url":"git@github.com:desimone/drone.git","clone_url":"https://github.com/desimone/drone.git","svn_url":"https://github.com/desimone/drone","homepage":"","size":17339,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"drone:master","ref":"master","sha":"db85b952eb1ce9ccd386652a6fd402df64e2e1ee","user":{"login":"drone","id":2181346,"avatar_url":"https://avatars.githubusercontent.com/u/2181346?v=3","gravatar_id":"","url":"https://api.github.com/users/drone","html_url":"https://github.com/drone","followers_url":"https://api.github.com/users/drone/followers","following_url":"https://api.github.com/users/drone/following{/other_user}","gists_url":"https://api.github.com/users/drone/gists{/gist_id}","starred_url":"https://api.github.com/users/drone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drone/subscriptions","organizations_url":"https://api.github.com/users/drone/orgs","repos_url":"https://api.github.com/users/drone/repos","events_url":"https://api.github.com/users/drone/events{/privacy}","received_events_url":"https://api.github.com/users/drone/received_events","type":"Organization","site_admin":false},"repo":{"id":16607898,"name":"drone","full_name":"drone/drone","owner":{"login":"drone","id":2181346,"avatar_url":"https://avatars.githubusercontent.com/u/2181346?v=3","gravatar_id":"","url":"https://api.github.com/users/drone","html_url":"https://github.com/drone","followers_url":"https://api.github.com/users/drone/followers","following_url":"https://api.github.com/users/drone/following{/other_user}","gists_url":"https://api.github.com/users/drone/gists{/gist_id}","starred_url":"https://api.github.com/users/drone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drone/subscriptions","organizations_url":"https://api.github.com/users/drone/orgs","repos_url":"https://api.github.com/users/drone/repos","events_url":"https://api.github.com/users/drone/events{/privacy}","received_events_url":"https://api.github.com/users/drone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/drone/drone","description":"Drone is a Continuous Integration platform built on Docker, written in Go","fork":false,"url":"https://api.github.com/repos/drone/drone","forks_url":"https://api.github.com/repos/drone/drone/forks","keys_url":"https://api.github.com/repos/drone/drone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drone/drone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drone/drone/teams","hooks_url":"https://api.github.com/repos/drone/drone/hooks","issue_events_url":"https://api.github.com/repos/drone/drone/issues/events{/number}","events_url":"https://api.github.com/repos/drone/drone/events","assignees_url":"https://api.github.com/repos/drone/drone/assignees{/user}","branches_url":"https://api.github.com/repos/drone/drone/branches{/branch}","tags_url":"https://api.github.com/repos/drone/drone/tags","blobs_url":"https://api.github.com/repos/drone/drone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drone/drone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drone/drone/git/refs{/sha}","trees_url":"https://api.github.com/repos/drone/drone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drone/drone/statuses/{sha}","languages_url":"https://api.github.com/repos/drone/drone/languages","stargazers_url":"https://api.github.com/repos/drone/drone/stargazers","contributors_url":"https://api.github.com/repos/drone/drone/contributors","subscribers_url":"https://api.github.com/repos/drone/drone/subscribers","subscription_url":"https://api.github.com/repos/drone/drone/subscription","commits_url":"https://api.github.com/repos/drone/drone/commits{/sha}","git_commits_url":"https://api.github.com/repos/drone/drone/git/commits{/sha}","comments_url":"https://api.github.com/repos/drone/drone/comments{/number}","issue_comment_url":"https://api.github.com/repos/drone/drone/issues/comments{/number}","contents_url":"https://api.github.com/repos/drone/drone/contents/{+path}","compare_url":"https://api.github.com/repos/drone/drone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drone/drone/merges","archive_url":"https://api.github.com/repos/drone/drone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drone/drone/downloads","issues_url":"https://api.github.com/repos/drone/drone/issues{/number}","pulls_url":"https://api.github.com/repos/drone/drone/pulls{/number}","milestones_url":"https://api.github.com/repos/drone/drone/milestones{/number}","notifications_url":"https://api.github.com/repos/drone/drone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drone/drone/labels{/name}","releases_url":"https://api.github.com/repos/drone/drone/releases{/id}","created_at":"2014-02-07T07:54:44Z","updated_at":"2015-09-30T09:53:30Z","pushed_at":"2015-09-29T06:23:39Z","git_url":"git://github.com/drone/drone.git","ssh_url":"git@github.com:drone/drone.git","clone_url":"https://github.com/drone/drone.git","svn_url":"https://github.com/drone/drone","homepage":"","size":29876,"stargazers_count":5444,"watchers_count":5444,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":602,"mirror_url":null,"open_issues_count":158,"forks":602,"open_issues":158,"watchers":5444,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drone/drone/pulls/1213"},"html":{"href":"https://github.com/drone/drone/pull/1213"},"issue":{"href":"https://api.github.com/repos/drone/drone/issues/1213"},"comments":{"href":"https://api.github.com/repos/drone/drone/issues/1213/comments"},"review_comments":{"href":"https://api.github.com/repos/drone/drone/pulls/1213/comments"},"review_comment":{"href":"https://api.github.com/repos/drone/drone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drone/drone/pulls/1213/commits"},"statuses":{"href":"https://api.github.com/repos/drone/drone/statuses/24a7461fe882174ed5d6cb9a56299b3dd0b00d2f"}}}}