{"id":8,"date":"2014-11-13T01:44:26","date_gmt":"2014-11-12T23:44:26","guid":{"rendered":"http:\/\/blog.chloesoe.ch\/?p=8"},"modified":"2017-09-05T23:11:53","modified_gmt":"2017-09-05T21:11:53","slug":"notes-for-103-2","status":"publish","type":"post","link":"https:\/\/blog.chloesoe.ch\/?p=8","title":{"rendered":"Notes for 103.2"},"content":{"rendered":"<p><code>expand x.txt &gt; y.txt<\/code> replace TAB by spaces<br \/>\n<code>nl x.txt<\/code> cat with line number<br \/>\n<code>uniq x.txt<\/code> remove duplicates<br \/>\n<code>split -l 11000 -d catalina.out salami_ <code> split catalina.out evere 11000 lines to a file salami_nn (-d is for numeric file number)<br \/>\n<code>cut -f2 tabulator.txt<\/code> cut columns 2<br \/>\n<code>paste x.txt y.txt<\/code> merge two files by column<br \/>\n<code>join -j<\/code> like paste with \"sql like\" join on a common key<br \/>\n<code>cat x.txt | tr Q P<\/code> replace Q by P in x.txt<br \/>\n<code>cat x.txt | tr a-z A-Z<\/code> lower case to upper case<br \/>\n<code>[:lower:]<\/code> possible as an argument of tr<\/p>\n","protected":false},"excerpt":{"rendered":"<p>expand x.txt &gt; y.txt replace TAB by spaces nl x.txt cat with line number uniq x.txt remove duplicates split -l 11000 -d catalina.out salami_ split catalina.out evere 11000 lines to a file salami_nn (-d is for numeric file number) cut -f2 tabulator.txt cut columns 2 paste x.txt y.txt merge two files by column join -j&#8230; <a href=\"https:\/\/blog.chloesoe.ch\/?p=8\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Notes for 103.2<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[3],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-lpic","tag-lpic"],"_links":{"self":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8"}],"version-history":[{"count":3,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":11,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/8\/revisions\/11"}],"wp:attachment":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}