{"action":"created","issue":{"url":"https://api.github.com/repos/swcarpentry/shell-novice/issues/280","repository_url":"https://api.github.com/repos/swcarpentry/shell-novice","labels_url":"https://api.github.com/repos/swcarpentry/shell-novice/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/swcarpentry/shell-novice/issues/280/comments","events_url":"https://api.github.com/repos/swcarpentry/shell-novice/issues/280/events","html_url":"https://github.com/swcarpentry/shell-novice/issues/280","id":127903952,"number":280,"title":"\"find pipeline reading comprehension\" exercise","user":{"login":"btel","id":41565,"avatar_url":"https://avatars.githubusercontent.com/u/41565?v=3","gravatar_id":"","url":"https://api.github.com/users/btel","html_url":"https://github.com/btel","followers_url":"https://api.github.com/users/btel/followers","following_url":"https://api.github.com/users/btel/following{/other_user}","gists_url":"https://api.github.com/users/btel/gists{/gist_id}","starred_url":"https://api.github.com/users/btel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btel/subscriptions","organizations_url":"https://api.github.com/users/btel/orgs","repos_url":"https://api.github.com/users/btel/repos","events_url":"https://api.github.com/users/btel/events{/privacy}","received_events_url":"https://api.github.com/users/btel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-21T11:29:13Z","updated_at":"2016-02-08T16:40:01Z","closed_at":null,"body":"This one-liner from exercise \"`find` pipeline reading comprehension\" in \"Finding things\" lesson:\r\n\r\n`find . -name '*.dat' | wc -l | sort -n`\r\n\r\n will always print a single line (the number of .dat files in the current dir and its subdirs), so sort at the end of the pipeline is not necessary.  Since the goal of the exercise is to write an explanatory comment, it may be confusing.\r\n\r\nPerhaps this command would make more sense:\r\n\r\n`wc -l $(find . -name '*.dat')  | sort -n`"},"comment":{"url":"https://api.github.com/repos/swcarpentry/shell-novice/issues/comments/181455243","html_url":"https://github.com/swcarpentry/shell-novice/issues/280#issuecomment-181455243","issue_url":"https://api.github.com/repos/swcarpentry/shell-novice/issues/280","id":181455243,"user":{"login":"gdevenyi","id":3001850,"avatar_url":"https://avatars.githubusercontent.com/u/3001850?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevenyi","html_url":"https://github.com/gdevenyi","followers_url":"https://api.github.com/users/gdevenyi/followers","following_url":"https://api.github.com/users/gdevenyi/following{/other_user}","gists_url":"https://api.github.com/users/gdevenyi/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevenyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevenyi/subscriptions","organizations_url":"https://api.github.com/users/gdevenyi/orgs","repos_url":"https://api.github.com/users/gdevenyi/repos","events_url":"https://api.github.com/users/gdevenyi/events{/privacy}","received_events_url":"https://api.github.com/users/gdevenyi/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T16:40:01Z","updated_at":"2016-02-08T16:40:01Z","body":"PRs welcome to fix this."}}