{"id":10780,"date":"2018-12-20T09:45:40","date_gmt":"2018-12-20T14:45:40","guid":{"rendered":"http:\/\/blog.carlrobitaille.org\/?p=10780"},"modified":"2018-12-20T09:45:42","modified_gmt":"2018-12-20T14:45:42","slug":"using-awk-in-vim","status":"publish","type":"post","link":"https:\/\/blog.carlrobitaille.org\/?p=10780","title":{"rendered":"Using awk in vim"},"content":{"rendered":"\n<p>:%!awk &#8216;{print $2 &#8221; &#8221; $3}&#8217;<\/p>\n\n\n\n<figure class=\"wp-block-embed-twitter wp-block-embed is-type-rich is-provider-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">This is a new one for me.<br><br>From inside of vim:<br><br>:%!awk &#39;{print $2 &quot; &quot; $3}&#39;<br><br>It does exactly what I wanted.<br><br>I don&#39;t think I&#39;ve run awk from inside of vim before.  But I suspect I will do so again.<\/p>&mdash; Grant Taylor (@drscriptt@oldbytes.space) (@DrScriptt) <a href=\"https:\/\/twitter.com\/DrScriptt\/status\/1075484941641756674?ref_src=twsrc%5Etfw\">December 19, 2018<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>:%!awk &#8216;{print $2 &#8221; &#8221; $3}&#8217;<\/p>\n","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-10780","post","type-post","status-publish","format-standard","hentry","category-programmation"],"_links":{"self":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts\/10780","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=10780"}],"version-history":[{"count":1,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts\/10780\/revisions"}],"predecessor-version":[{"id":10781,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=\/wp\/v2\/posts\/10780\/revisions\/10781"}],"wp:attachment":[{"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.carlrobitaille.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}