{"id":27212,"date":"2020-12-15T07:33:31","date_gmt":"2020-12-15T12:33:31","guid":{"rendered":"https:\/\/blog.carlrobitaille.org\/?p=27212"},"modified":"2020-12-15T07:33:35","modified_gmt":"2020-12-15T12:33:35","slug":"running-xargs-alone-allows-you-to-paste-text-into-it","status":"publish","type":"post","link":"https:\/\/blog.carlrobitaille.org\/?p=27212","title":{"rendered":"Running xargs alone allows you to paste text into it"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">xargs # Running xargs alone allows you to paste text into it, then press &lt;Ctrl-D&gt; to end the input and it will unwrap all the lines into one line. I just used this to put a bunch of email addresses on one line. <a href=\"https:\/\/t.co\/AAOecFja6V\">pic.twitter.com\/AAOecFja6V<\/a><\/p>&mdash; Command Line Magic (@climagic) <a href=\"https:\/\/twitter.com\/climagic\/status\/1338465143773073409?ref_src=twsrc%5Etfw\">December 14, 2020<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-27212","post","type-post","status-publish","format-standard","hentry","category-programmation"],"_links":{"self":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts\/27212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27212"}],"version-history":[{"count":1,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts\/27212\/revisions"}],"predecessor-version":[{"id":27213,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts\/27212\/revisions\/27213"}],"wp:attachment":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}