{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/1682","labels_url":"https://api.github.com/repos/docker/machine/issues/1682/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/1682/comments","events_url":"https://api.github.com/repos/docker/machine/issues/1682/events","html_url":"https://github.com/docker/machine/issues/1682","id":100632936,"number":1682,"title":"\"Active\" star in ls output breaks UNIX-ness of program","user":{"login":"nathanleclaire","id":1476820,"avatar_url":"https://avatars.githubusercontent.com/u/1476820?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanleclaire","html_url":"https://github.com/nathanleclaire","followers_url":"https://api.github.com/users/nathanleclaire/followers","following_url":"https://api.github.com/users/nathanleclaire/following{/other_user}","gists_url":"https://api.github.com/users/nathanleclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanleclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanleclaire/subscriptions","organizations_url":"https://api.github.com/users/nathanleclaire/orgs","repos_url":"https://api.github.com/users/nathanleclaire/repos","events_url":"https://api.github.com/users/nathanleclaire/events{/privacy}","received_events_url":"https://api.github.com/users/nathanleclaire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T20:54:06Z","updated_at":"2015-08-14T19:49:33Z","closed_at":null,"body":"Notice that if you have an active machine something like this will return unreliable results:\r\n\r\n```console\r\n$ docker-machine ls | awk '{ print $3; }'\r\nDRIVER\r\nRunning\r\nRunning\r\nStopped\r\nRunning\r\nvirtualbox\r\n```\r\n\r\n:frowning: \r\n\r\n`awk` delimits by whitespace so I think we should have a character to indicate non-active as well, or come up with another solution to make the output a bit more UNIX-ey.  Even though it's meant to be just for humans, I know of at least two or three examples of people parsing this output mechanically.\r\n\r\ncc @ehazlett "},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/131218567","html_url":"https://github.com/docker/machine/issues/1682#issuecomment-131218567","issue_url":"https://api.github.com/repos/docker/machine/issues/1682","id":131218567,"user":{"login":"ehazlett","id":260642,"avatar_url":"https://avatars.githubusercontent.com/u/260642?v=3","gravatar_id":"","url":"https://api.github.com/users/ehazlett","html_url":"https://github.com/ehazlett","followers_url":"https://api.github.com/users/ehazlett/followers","following_url":"https://api.github.com/users/ehazlett/following{/other_user}","gists_url":"https://api.github.com/users/ehazlett/gists{/gist_id}","starred_url":"https://api.github.com/users/ehazlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehazlett/subscriptions","organizations_url":"https://api.github.com/users/ehazlett/orgs","repos_url":"https://api.github.com/users/ehazlett/repos","events_url":"https://api.github.com/users/ehazlett/events{/privacy}","received_events_url":"https://api.github.com/users/ehazlett/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T19:49:33Z","updated_at":"2015-08-14T19:49:33Z","body":"Hmm.  Perhaps we leave off the asterisk and just rely on the `active` command instead?"}}