{"action":"created","comment":{"url":"https://api.github.com/repos/redox-os/coreutils/pulls/comments/57478407","id":57478407,"diff_hunk":"@@ -0,0 +1,525 @@\n+\n+\n+use std::env;\n+use std::fs;\n+use std::io::{self, BufRead, Read, Write};\n+use std::slice;\n+use std::str::FromStr;\n+\n+// libextra is not compiling.\n+use std::process;\n+pub fn fail<'a>(s: &'a str, stderr: &mut io::Stderr) -> ! {","path":"src/bin/cut.rs","position":11,"original_position":11,"commit_id":"1ea75a860f4c435c827311b5dc1b4be852676907","original_commit_id":"1ea75a860f4c435c827311b5dc1b4be852676907","user":{"login":"Ticki","id":13349091,"avatar_url":"https://avatars.githubusercontent.com/u/13349091?v=3","gravatar_id":"","url":"https://api.github.com/users/Ticki","html_url":"https://github.com/Ticki","followers_url":"https://api.github.com/users/Ticki/followers","following_url":"https://api.github.com/users/Ticki/following{/other_user}","gists_url":"https://api.github.com/users/Ticki/gists{/gist_id}","starred_url":"https://api.github.com/users/Ticki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ticki/subscriptions","organizations_url":"https://api.github.com/users/Ticki/orgs","repos_url":"https://api.github.com/users/Ticki/repos","events_url":"https://api.github.com/users/Ticki/events{/privacy}","received_events_url":"https://api.github.com/users/Ticki/received_events","type":"User","site_admin":false},"body":"Works now.","created_at":"2016-03-25T19:05:32Z","updated_at":"2016-03-25T19:05:32Z","html_url":"https://github.com/redox-os/coreutils/pull/45#discussion_r57478407","pull_request_url":"https://api.github.com/repos/redox-os/coreutils/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/redox-os/coreutils/pulls/comments/57478407"},"html":{"href":"https://github.com/redox-os/coreutils/pull/45#discussion_r57478407"},"pull_request":{"href":"https://api.github.com/repos/redox-os/coreutils/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/redox-os/coreutils/pulls/45","id":64188775,"html_url":"https://github.com/redox-os/coreutils/pull/45","diff_url":"https://github.com/redox-os/coreutils/pull/45.diff","patch_url":"https://github.com/redox-os/coreutils/pull/45.patch","issue_url":"https://api.github.com/repos/redox-os/coreutils/issues/45","number":45,"state":"open","locked":false,"title":"Add cut command","user":{"login":"hgrecco","id":278566,"avatar_url":"https://avatars.githubusercontent.com/u/278566?v=3","gravatar_id":"","url":"https://api.github.com/users/hgrecco","html_url":"https://github.com/hgrecco","followers_url":"https://api.github.com/users/hgrecco/followers","following_url":"https://api.github.com/users/hgrecco/following{/other_user}","gists_url":"https://api.github.com/users/hgrecco/gists{/gist_id}","starred_url":"https://api.github.com/users/hgrecco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgrecco/subscriptions","organizations_url":"https://api.github.com/users/hgrecco/orgs","repos_url":"https://api.github.com/users/hgrecco/repos","events_url":"https://api.github.com/users/hgrecco/events{/privacy}","received_events_url":"https://api.github.com/users/hgrecco/received_events","type":"User","site_admin":false},"body":"All options are implemented except for `-n`","created_at":"2016-03-25T17:58:54Z","updated_at":"2016-03-25T19:05:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91f0c31f1735bf259d2c2dc424ee3573bc743f5e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/redox-os/coreutils/pulls/45/commits","review_comments_url":"https://api.github.com/repos/redox-os/coreutils/pulls/45/comments","review_comment_url":"https://api.github.com/repos/redox-os/coreutils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redox-os/coreutils/issues/45/comments","statuses_url":"https://api.github.com/repos/redox-os/coreutils/statuses/1ea75a860f4c435c827311b5dc1b4be852676907","head":{"label":"hgrecco:master","ref":"master","sha":"1ea75a860f4c435c827311b5dc1b4be852676907","user":{"login":"hgrecco","id":278566,"avatar_url":"https://avatars.githubusercontent.com/u/278566?v=3","gravatar_id":"","url":"https://api.github.com/users/hgrecco","html_url":"https://github.com/hgrecco","followers_url":"https://api.github.com/users/hgrecco/followers","following_url":"https://api.github.com/users/hgrecco/following{/other_user}","gists_url":"https://api.github.com/users/hgrecco/gists{/gist_id}","starred_url":"https://api.github.com/users/hgrecco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgrecco/subscriptions","organizations_url":"https://api.github.com/users/hgrecco/orgs","repos_url":"https://api.github.com/users/hgrecco/repos","events_url":"https://api.github.com/users/hgrecco/events{/privacy}","received_events_url":"https://api.github.com/users/hgrecco/received_events","type":"User","site_admin":false},"repo":{"id":54736917,"name":"coreutils","full_name":"hgrecco/coreutils","owner":{"login":"hgrecco","id":278566,"avatar_url":"https://avatars.githubusercontent.com/u/278566?v=3","gravatar_id":"","url":"https://api.github.com/users/hgrecco","html_url":"https://github.com/hgrecco","followers_url":"https://api.github.com/users/hgrecco/followers","following_url":"https://api.github.com/users/hgrecco/following{/other_user}","gists_url":"https://api.github.com/users/hgrecco/gists{/gist_id}","starred_url":"https://api.github.com/users/hgrecco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgrecco/subscriptions","organizations_url":"https://api.github.com/users/hgrecco/orgs","repos_url":"https://api.github.com/users/hgrecco/repos","events_url":"https://api.github.com/users/hgrecco/events{/privacy}","received_events_url":"https://api.github.com/users/hgrecco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hgrecco/coreutils","description":"The Redox coreutils.","fork":true,"url":"https://api.github.com/repos/hgrecco/coreutils","forks_url":"https://api.github.com/repos/hgrecco/coreutils/forks","keys_url":"https://api.github.com/repos/hgrecco/coreutils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hgrecco/coreutils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hgrecco/coreutils/teams","hooks_url":"https://api.github.com/repos/hgrecco/coreutils/hooks","issue_events_url":"https://api.github.com/repos/hgrecco/coreutils/issues/events{/number}","events_url":"https://api.github.com/repos/hgrecco/coreutils/events","assignees_url":"https://api.github.com/repos/hgrecco/coreutils/assignees{/user}","branches_url":"https://api.github.com/repos/hgrecco/coreutils/branches{/branch}","tags_url":"https://api.github.com/repos/hgrecco/coreutils/tags","blobs_url":"https://api.github.com/repos/hgrecco/coreutils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hgrecco/coreutils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hgrecco/coreutils/git/refs{/sha}","trees_url":"https://api.github.com/repos/hgrecco/coreutils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hgrecco/coreutils/statuses/{sha}","languages_url":"https://api.github.com/repos/hgrecco/coreutils/languages","stargazers_url":"https://api.github.com/repos/hgrecco/coreutils/stargazers","contributors_url":"https://api.github.com/repos/hgrecco/coreutils/contributors","subscribers_url":"https://api.github.com/repos/hgrecco/coreutils/subscribers","subscription_url":"https://api.github.com/repos/hgrecco/coreutils/subscription","commits_url":"https://api.github.com/repos/hgrecco/coreutils/commits{/sha}","git_commits_url":"https://api.github.com/repos/hgrecco/coreutils/git/commits{/sha}","comments_url":"https://api.github.com/repos/hgrecco/coreutils/comments{/number}","issue_comment_url":"https://api.github.com/repos/hgrecco/coreutils/issues/comments{/number}","contents_url":"https://api.github.com/repos/hgrecco/coreutils/contents/{+path}","compare_url":"https://api.github.com/repos/hgrecco/coreutils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hgrecco/coreutils/merges","archive_url":"https://api.github.com/repos/hgrecco/coreutils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hgrecco/coreutils/downloads","issues_url":"https://api.github.com/repos/hgrecco/coreutils/issues{/number}","pulls_url":"https://api.github.com/repos/hgrecco/coreutils/pulls{/number}","milestones_url":"https://api.github.com/repos/hgrecco/coreutils/milestones{/number}","notifications_url":"https://api.github.com/repos/hgrecco/coreutils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hgrecco/coreutils/labels{/name}","releases_url":"https://api.github.com/repos/hgrecco/coreutils/releases{/id}","deployments_url":"https://api.github.com/repos/hgrecco/coreutils/deployments","created_at":"2016-03-25T17:57:04Z","updated_at":"2016-03-25T17:57:05Z","pushed_at":"2016-03-25T17:57:58Z","git_url":"git://github.com/hgrecco/coreutils.git","ssh_url":"git@github.com:hgrecco/coreutils.git","clone_url":"https://github.com/hgrecco/coreutils.git","svn_url":"https://github.com/hgrecco/coreutils","homepage":"","size":109,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"redox-os:master","ref":"master","sha":"b78188aa2ca020190dd50349161e85dda7ff1272","user":{"login":"redox-os","id":14909902,"avatar_url":"https://avatars.githubusercontent.com/u/14909902?v=3","gravatar_id":"","url":"https://api.github.com/users/redox-os","html_url":"https://github.com/redox-os","followers_url":"https://api.github.com/users/redox-os/followers","following_url":"https://api.github.com/users/redox-os/following{/other_user}","gists_url":"https://api.github.com/users/redox-os/gists{/gist_id}","starred_url":"https://api.github.com/users/redox-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redox-os/subscriptions","organizations_url":"https://api.github.com/users/redox-os/orgs","repos_url":"https://api.github.com/users/redox-os/repos","events_url":"https://api.github.com/users/redox-os/events{/privacy}","received_events_url":"https://api.github.com/users/redox-os/received_events","type":"Organization","site_admin":false},"repo":{"id":48803546,"name":"coreutils","full_name":"redox-os/coreutils","owner":{"login":"redox-os","id":14909902,"avatar_url":"https://avatars.githubusercontent.com/u/14909902?v=3","gravatar_id":"","url":"https://api.github.com/users/redox-os","html_url":"https://github.com/redox-os","followers_url":"https://api.github.com/users/redox-os/followers","following_url":"https://api.github.com/users/redox-os/following{/other_user}","gists_url":"https://api.github.com/users/redox-os/gists{/gist_id}","starred_url":"https://api.github.com/users/redox-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redox-os/subscriptions","organizations_url":"https://api.github.com/users/redox-os/orgs","repos_url":"https://api.github.com/users/redox-os/repos","events_url":"https://api.github.com/users/redox-os/events{/privacy}","received_events_url":"https://api.github.com/users/redox-os/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redox-os/coreutils","description":"The Redox coreutils.","fork":false,"url":"https://api.github.com/repos/redox-os/coreutils","forks_url":"https://api.github.com/repos/redox-os/coreutils/forks","keys_url":"https://api.github.com/repos/redox-os/coreutils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redox-os/coreutils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redox-os/coreutils/teams","hooks_url":"https://api.github.com/repos/redox-os/coreutils/hooks","issue_events_url":"https://api.github.com/repos/redox-os/coreutils/issues/events{/number}","events_url":"https://api.github.com/repos/redox-os/coreutils/events","assignees_url":"https://api.github.com/repos/redox-os/coreutils/assignees{/user}","branches_url":"https://api.github.com/repos/redox-os/coreutils/branches{/branch}","tags_url":"https://api.github.com/repos/redox-os/coreutils/tags","blobs_url":"https://api.github.com/repos/redox-os/coreutils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redox-os/coreutils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redox-os/coreutils/git/refs{/sha}","trees_url":"https://api.github.com/repos/redox-os/coreutils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redox-os/coreutils/statuses/{sha}","languages_url":"https://api.github.com/repos/redox-os/coreutils/languages","stargazers_url":"https://api.github.com/repos/redox-os/coreutils/stargazers","contributors_url":"https://api.github.com/repos/redox-os/coreutils/contributors","subscribers_url":"https://api.github.com/repos/redox-os/coreutils/subscribers","subscription_url":"https://api.github.com/repos/redox-os/coreutils/subscription","commits_url":"https://api.github.com/repos/redox-os/coreutils/commits{/sha}","git_commits_url":"https://api.github.com/repos/redox-os/coreutils/git/commits{/sha}","comments_url":"https://api.github.com/repos/redox-os/coreutils/comments{/number}","issue_comment_url":"https://api.github.com/repos/redox-os/coreutils/issues/comments{/number}","contents_url":"https://api.github.com/repos/redox-os/coreutils/contents/{+path}","compare_url":"https://api.github.com/repos/redox-os/coreutils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redox-os/coreutils/merges","archive_url":"https://api.github.com/repos/redox-os/coreutils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redox-os/coreutils/downloads","issues_url":"https://api.github.com/repos/redox-os/coreutils/issues{/number}","pulls_url":"https://api.github.com/repos/redox-os/coreutils/pulls{/number}","milestones_url":"https://api.github.com/repos/redox-os/coreutils/milestones{/number}","notifications_url":"https://api.github.com/repos/redox-os/coreutils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redox-os/coreutils/labels{/name}","releases_url":"https://api.github.com/repos/redox-os/coreutils/releases{/id}","deployments_url":"https://api.github.com/repos/redox-os/coreutils/deployments","created_at":"2015-12-30T14:13:05Z","updated_at":"2016-03-25T08:57:54Z","pushed_at":"2016-03-25T17:58:54Z","git_url":"git://github.com/redox-os/coreutils.git","ssh_url":"git@github.com:redox-os/coreutils.git","clone_url":"https://github.com/redox-os/coreutils.git","svn_url":"https://github.com/redox-os/coreutils","homepage":"","size":112,"stargazers_count":20,"watchers_count":20,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":5,"forks":13,"open_issues":5,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redox-os/coreutils/pulls/45"},"html":{"href":"https://github.com/redox-os/coreutils/pull/45"},"issue":{"href":"https://api.github.com/repos/redox-os/coreutils/issues/45"},"comments":{"href":"https://api.github.com/repos/redox-os/coreutils/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/redox-os/coreutils/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/redox-os/coreutils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redox-os/coreutils/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/redox-os/coreutils/statuses/1ea75a860f4c435c827311b5dc1b4be852676907"}}}}