{"action":"created","issue":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/189","labels_url":"https://api.github.com/repos/scopatz/xonsh/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/scopatz/xonsh/issues/189/comments","events_url":"https://api.github.com/repos/scopatz/xonsh/issues/189/events","html_url":"https://github.com/scopatz/xonsh/pull/189","id":66399091,"number":189,"title":"More IO Redirection Options","user":{"login":"wrywerytwreywery","id":549404,"avatar_url":"https://avatars.githubusercontent.com/u/549404?v=3","gravatar_id":"","url":"https://api.github.com/users/wrywerytwreywery","html_url":"https://github.com/wrywerytwreywery","followers_url":"https://api.github.com/users/wrywerytwreywery/followers","following_url":"https://api.github.com/users/wrywerytwreywery/following{/other_user}","gists_url":"https://api.github.com/users/wrywerytwreywery/gists{/gist_id}","starred_url":"https://api.github.com/users/wrywerytwreywery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrywerytwreywery/subscriptions","organizations_url":"https://api.github.com/users/wrywerytwreywery/orgs","repos_url":"https://api.github.com/users/wrywerytwreywery/repos","events_url":"https://api.github.com/users/wrywerytwreywery/events{/privacy}","received_events_url":"https://api.github.com/users/wrywerytwreywery/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scopatz/xonsh/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scopatz/xonsh/milestones/1","html_url":"https://github.com/scopatz/xonsh/milestones/v0.2","labels_url":"https://api.github.com/repos/scopatz/xonsh/milestones/1/labels","id":1013181,"number":1,"title":"v0.2","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":185,"state":"open","created_at":"2015-03-09T18:29:10Z","updated_at":"2015-05-13T03:06:57Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2015-04-05T04:07:08Z","updated_at":"2015-05-13T12:09:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scopatz/xonsh/pulls/189","html_url":"https://github.com/scopatz/xonsh/pull/189","diff_url":"https://github.com/scopatz/xonsh/pull/189.diff","patch_url":"https://github.com/scopatz/xonsh/pull/189.patch"},"body":"This changeset implements additional redirect capabilities (redirect stderr to file with `2>` and `2>>`, redirect both stdout and sterr to file with `&>` and `&>>`, grab stdin from file with `<`).  Not as fully-featured as bash's redirects, but it is something.\r\n\r\nI also updated many of the error messages from xonsh to be printed to stderr instead of stdout.\r\n\r\nAlso fixes an unrelated bug with detyping `FORMATTER_DICT` (which I encountered along the way, and which we should fix even if this update is rejected) in built_ins.py, line 72.\r\n\r\nThe code is not very pretty right now (and so is not yet ready to be merged, I think, until I make another formatting pass), but it seems to be functional.  I'd be glad for any feedback if you have a chance to try it out, @scopatz."},"comment":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/comments/101643153","html_url":"https://github.com/scopatz/xonsh/pull/189#issuecomment-101643153","issue_url":"https://api.github.com/repos/scopatz/xonsh/issues/189","id":101643153,"user":{"login":"gthole","id":1581949,"avatar_url":"https://avatars.githubusercontent.com/u/1581949?v=3","gravatar_id":"","url":"https://api.github.com/users/gthole","html_url":"https://github.com/gthole","followers_url":"https://api.github.com/users/gthole/followers","following_url":"https://api.github.com/users/gthole/following{/other_user}","gists_url":"https://api.github.com/users/gthole/gists{/gist_id}","starred_url":"https://api.github.com/users/gthole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gthole/subscriptions","organizations_url":"https://api.github.com/users/gthole/orgs","repos_url":"https://api.github.com/users/gthole/repos","events_url":"https://api.github.com/users/gthole/events{/privacy}","received_events_url":"https://api.github.com/users/gthole/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T12:09:27Z","updated_at":"2015-05-13T12:09:27Z","body":"@scopatz You got it spot on - I'd probably use `err>` in my own daily shell use over `2>`, for example, but I like the idea that `xonsh` will \"just work\" for established BASH syntax.  (And maybe `all>` for `&>`?)"}}