{"id":187,"date":"2018-06-22T14:33:35","date_gmt":"2018-06-22T12:33:35","guid":{"rendered":"http:\/\/faq.binar.pl\/?p=187"},"modified":"2018-06-22T14:33:35","modified_gmt":"2018-06-22T12:33:35","slug":"grepowanie-plikow-tekstowych-z-zapisem-do-pliku","status":"publish","type":"post","link":"https:\/\/faq.binar.pl\/?p=187","title":{"rendered":"Grepowanie plik\u00f3w tekstowych z zapisem do pliku"},"content":{"rendered":"<p>Aby przeszuka\u0107 <span style=\"color: #ff0000;\"><strong>plik_tekstowy<\/strong><\/span> pod k\u0105tem wyst\u0119powania ci\u0105gu <span style=\"color: #ff0000;\"><strong>teskt_przykladowy<\/strong><\/span> i zapisa\u0107 wynik do nowego pliku <strong><span style=\"color: #ff0000;\">wyniki.txt<\/span><\/strong> nale\u017cy u\u017cy\u0107 polecenia:<\/p>\n<pre><strong>cat plik_tekstowy | grep teskt_przykladowy &gt; wyniki.txt<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Aby przeszuka\u0107 plik_tekstowy pod k\u0105tem wyst\u0119powania ci\u0105gu teskt_przykladowy i zapisa\u0107 wynik do nowego pliku wyniki.txt nale\u017cy u\u017cy\u0107 polecenia: cat plik_tekstowy | grep teskt_przykladowy &gt; wyniki.txt<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-187","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/faq.binar.pl\/index.php?rest_route=\/wp\/v2\/posts\/187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/faq.binar.pl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/faq.binar.pl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/faq.binar.pl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/faq.binar.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=187"}],"version-history":[{"count":1,"href":"https:\/\/faq.binar.pl\/index.php?rest_route=\/wp\/v2\/posts\/187\/revisions"}],"predecessor-version":[{"id":188,"href":"https:\/\/faq.binar.pl\/index.php?rest_route=\/wp\/v2\/posts\/187\/revisions\/188"}],"wp:attachment":[{"href":"https:\/\/faq.binar.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/faq.binar.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/faq.binar.pl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}