{"action":"opened","issue":{"url":"https://api.github.com/repos/chef/chef/issues/3229","labels_url":"https://api.github.com/repos/chef/chef/issues/3229/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/3229/comments","events_url":"https://api.github.com/repos/chef/chef/issues/3229/events","html_url":"https://github.com/chef/chef/issues/3229","id":68767238,"number":3229,"title":"Aditional character on knife 12.2.1 using head","user":{"login":"tiago-cruz-movile","id":4048174,"avatar_url":"https://avatars.githubusercontent.com/u/4048174?v=3","gravatar_id":"","url":"https://api.github.com/users/tiago-cruz-movile","html_url":"https://github.com/tiago-cruz-movile","followers_url":"https://api.github.com/users/tiago-cruz-movile/followers","following_url":"https://api.github.com/users/tiago-cruz-movile/following{/other_user}","gists_url":"https://api.github.com/users/tiago-cruz-movile/gists{/gist_id}","starred_url":"https://api.github.com/users/tiago-cruz-movile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiago-cruz-movile/subscriptions","organizations_url":"https://api.github.com/users/tiago-cruz-movile/orgs","repos_url":"https://api.github.com/users/tiago-cruz-movile/repos","events_url":"https://api.github.com/users/tiago-cruz-movile/events{/privacy}","received_events_url":"https://api.github.com/users/tiago-cruz-movile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-15T19:24:12Z","updated_at":"2015-04-15T19:24:12Z","closed_at":null,"body":"- knife 11.14:\r\n```\r\n[tiago.cruz@aeiou ~]$ sudo knife search dwarf -c /etc/chef/client.rb  | head -n 1\r\n33 items found\r\n[tiago.cruz@aeiou ~]$ knife -v\r\nChef: 11.14.2\r\n```\r\n\r\n- knife 12.0.0:\r\n```\r\n[tiago.cruz@mordor ~]$ sudo knife search dwarf -c /etc/chef/client.rb  | head -n 1\r\n33 items found\r\n[tiago.cruz@mordor ~]$ knife -v\r\nChef: 12.0.0\r\n```\r\n\r\nNow, using knife 12.2.1:\r\n```\r\n[tiago.cruz@moria ~]$ sudo knife search dwarf -c /etc/chef/client.rb  | head -n 1\r\n33 items found\r\n\r\nNode Name:   xxxxx.com\r\n[tiago.cruz@moria ~]$ knife -v\r\nChef: 12.2.1\r\n```\r\nCan't you see? The `head -n 1` is not working any more on Chef 12.2.1 =)\r\n\r\nSome strange invisible character or some like this are confusing the 'head' to get just the first line, and with this, breaking some scripts :+1: "}}