{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls/34","id":30262608,"html_url":"https://github.com/zincmade/just-enough-unix-command-line/pull/34","diff_url":"https://github.com/zincmade/just-enough-unix-command-line/pull/34.diff","patch_url":"https://github.com/zincmade/just-enough-unix-command-line/pull/34.patch","issue_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues/34","number":34,"state":"open","locked":false,"title":"Xargs & Cut","user":{"login":"jessicard","id":621904,"avatar_url":"https://avatars.githubusercontent.com/u/621904?v=3","gravatar_id":"","url":"https://api.github.com/users/jessicard","html_url":"https://github.com/jessicard","followers_url":"https://api.github.com/users/jessicard/followers","following_url":"https://api.github.com/users/jessicard/following{/other_user}","gists_url":"https://api.github.com/users/jessicard/gists{/gist_id}","starred_url":"https://api.github.com/users/jessicard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessicard/subscriptions","organizations_url":"https://api.github.com/users/jessicard/orgs","repos_url":"https://api.github.com/users/jessicard/repos","events_url":"https://api.github.com/users/jessicard/events{/privacy}","received_events_url":"https://api.github.com/users/jessicard/received_events","type":"User","site_admin":false},"body":"# Xargs & Cut\r\nNext, we experimented with a different form of redirection by using the `xargs` command. `xargs` takes a whitespace separated list of arguments and performs a command on each. We looked at a lengthy application of `xargs`, chaining together commands to move all of the text files in the current directory into a hidden folder. Then, we looked at the 'cut' command, which is used for slicing up a file into portions that you specify. We looked at a couple different flags in order to specify which part of the file you want, then we used cut in an example to familiarize ourself with it.\r\n\r\nCommands covered: `xargs` (with various flags), `cut` (with various flags)\r\n\r\nRelated issue: https://github.com/zincmade/just-enough-unix-command-line/issues/28","created_at":"2015-03-02T07:09:28Z","updated_at":"2015-03-02T07:09:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls/34/commits","review_comments_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls/34/comments","review_comment_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues/34/comments","statuses_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/statuses/4ca45cff08da0c9ed0c90ed78d2a098fbacc97ab","head":{"label":"zincmade:xargs-and-cut","ref":"xargs-and-cut","sha":"4ca45cff08da0c9ed0c90ed78d2a098fbacc97ab","user":{"login":"zincmade","id":10659700,"avatar_url":"https://avatars.githubusercontent.com/u/10659700?v=3","gravatar_id":"","url":"https://api.github.com/users/zincmade","html_url":"https://github.com/zincmade","followers_url":"https://api.github.com/users/zincmade/followers","following_url":"https://api.github.com/users/zincmade/following{/other_user}","gists_url":"https://api.github.com/users/zincmade/gists{/gist_id}","starred_url":"https://api.github.com/users/zincmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zincmade/subscriptions","organizations_url":"https://api.github.com/users/zincmade/orgs","repos_url":"https://api.github.com/users/zincmade/repos","events_url":"https://api.github.com/users/zincmade/events{/privacy}","received_events_url":"https://api.github.com/users/zincmade/received_events","type":"Organization","site_admin":false},"repo":{"id":31038922,"name":"just-enough-unix-command-line","full_name":"zincmade/just-enough-unix-command-line","owner":{"login":"zincmade","id":10659700,"avatar_url":"https://avatars.githubusercontent.com/u/10659700?v=3","gravatar_id":"","url":"https://api.github.com/users/zincmade","html_url":"https://github.com/zincmade","followers_url":"https://api.github.com/users/zincmade/followers","following_url":"https://api.github.com/users/zincmade/following{/other_user}","gists_url":"https://api.github.com/users/zincmade/gists{/gist_id}","starred_url":"https://api.github.com/users/zincmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zincmade/subscriptions","organizations_url":"https://api.github.com/users/zincmade/orgs","repos_url":"https://api.github.com/users/zincmade/repos","events_url":"https://api.github.com/users/zincmade/events{/privacy}","received_events_url":"https://api.github.com/users/zincmade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zincmade/just-enough-unix-command-line","description":"An hour(ish) long guide to using the unix command line, geared towards novice programmers!","fork":false,"url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line","forks_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/forks","keys_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/teams","hooks_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/hooks","issue_events_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues/events{/number}","events_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/events","assignees_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/assignees{/user}","branches_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/branches{/branch}","tags_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/tags","blobs_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/refs{/sha}","trees_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/statuses/{sha}","languages_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/languages","stargazers_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/stargazers","contributors_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/contributors","subscribers_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/subscribers","subscription_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/subscription","commits_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/commits{/sha}","git_commits_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/commits{/sha}","comments_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/comments{/number}","issue_comment_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues/comments{/number}","contents_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/contents/{+path}","compare_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/merges","archive_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/downloads","issues_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues{/number}","pulls_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls{/number}","milestones_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/milestones{/number}","notifications_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/labels{/name}","releases_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/releases{/id}","created_at":"2015-02-19T21:53:17Z","updated_at":"2015-02-19T21:53:57Z","pushed_at":"2015-03-02T07:08:22Z","git_url":"git://github.com/zincmade/just-enough-unix-command-line.git","ssh_url":"git@github.com:zincmade/just-enough-unix-command-line.git","clone_url":"https://github.com/zincmade/just-enough-unix-command-line.git","svn_url":"https://github.com/zincmade/just-enough-unix-command-line","homepage":null,"size":120,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":33,"forks":0,"open_issues":33,"watchers":0,"default_branch":"default"}},"base":{"label":"zincmade:default","ref":"default","sha":"ec7e5560fe7e6209d530bb3a6d1cf83a6251fdbd","user":{"login":"zincmade","id":10659700,"avatar_url":"https://avatars.githubusercontent.com/u/10659700?v=3","gravatar_id":"","url":"https://api.github.com/users/zincmade","html_url":"https://github.com/zincmade","followers_url":"https://api.github.com/users/zincmade/followers","following_url":"https://api.github.com/users/zincmade/following{/other_user}","gists_url":"https://api.github.com/users/zincmade/gists{/gist_id}","starred_url":"https://api.github.com/users/zincmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zincmade/subscriptions","organizations_url":"https://api.github.com/users/zincmade/orgs","repos_url":"https://api.github.com/users/zincmade/repos","events_url":"https://api.github.com/users/zincmade/events{/privacy}","received_events_url":"https://api.github.com/users/zincmade/received_events","type":"Organization","site_admin":false},"repo":{"id":31038922,"name":"just-enough-unix-command-line","full_name":"zincmade/just-enough-unix-command-line","owner":{"login":"zincmade","id":10659700,"avatar_url":"https://avatars.githubusercontent.com/u/10659700?v=3","gravatar_id":"","url":"https://api.github.com/users/zincmade","html_url":"https://github.com/zincmade","followers_url":"https://api.github.com/users/zincmade/followers","following_url":"https://api.github.com/users/zincmade/following{/other_user}","gists_url":"https://api.github.com/users/zincmade/gists{/gist_id}","starred_url":"https://api.github.com/users/zincmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zincmade/subscriptions","organizations_url":"https://api.github.com/users/zincmade/orgs","repos_url":"https://api.github.com/users/zincmade/repos","events_url":"https://api.github.com/users/zincmade/events{/privacy}","received_events_url":"https://api.github.com/users/zincmade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zincmade/just-enough-unix-command-line","description":"An hour(ish) long guide to using the unix command line, geared towards novice programmers!","fork":false,"url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line","forks_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/forks","keys_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/teams","hooks_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/hooks","issue_events_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues/events{/number}","events_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/events","assignees_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/assignees{/user}","branches_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/branches{/branch}","tags_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/tags","blobs_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/refs{/sha}","trees_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/statuses/{sha}","languages_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/languages","stargazers_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/stargazers","contributors_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/contributors","subscribers_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/subscribers","subscription_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/subscription","commits_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/commits{/sha}","git_commits_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/git/commits{/sha}","comments_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/comments{/number}","issue_comment_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues/comments{/number}","contents_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/contents/{+path}","compare_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/merges","archive_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/downloads","issues_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues{/number}","pulls_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls{/number}","milestones_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/milestones{/number}","notifications_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/labels{/name}","releases_url":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/releases{/id}","created_at":"2015-02-19T21:53:17Z","updated_at":"2015-02-19T21:53:57Z","pushed_at":"2015-03-02T07:08:22Z","git_url":"git://github.com/zincmade/just-enough-unix-command-line.git","ssh_url":"git@github.com:zincmade/just-enough-unix-command-line.git","clone_url":"https://github.com/zincmade/just-enough-unix-command-line.git","svn_url":"https://github.com/zincmade/just-enough-unix-command-line","homepage":null,"size":120,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":33,"forks":0,"open_issues":33,"watchers":0,"default_branch":"default"}},"_links":{"self":{"href":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls/34"},"html":{"href":"https://github.com/zincmade/just-enough-unix-command-line/pull/34"},"issue":{"href":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues/34"},"comments":{"href":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/zincmade/just-enough-unix-command-line/statuses/4ca45cff08da0c9ed0c90ed78d2a098fbacc97ab"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":57,"deletions":0,"changed_files":1}}