{"id":41221,"date":"2021-03-21T16:50:01","date_gmt":"2021-03-21T16:50:01","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=41221"},"modified":"2021-03-21T16:50:02","modified_gmt":"2021-03-21T16:50:02","slug":"liunix-grep-part-3-the-operator","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/liunix-grep-part-3-the-operator\/","title":{"rendered":"[Li|U]nix: grep part 3: the + operator"},"content":{"rendered":"\n<h2>Self-tutoring about [Li|U]nix: the tutor continues about grep capabilities.<\/h2>\n<p>\nOn the system I use, the + (one or more) operator will work with grep if escaped. With the -E option you don&#8217;t have to escape it. Therefore,<\/p>\n<p>grep &#8220;^t\\w\\+[.]txt&#8221; <\/p>\n<p> will find <em>t445.txt<\/em><\/p>. So will\n<p>grep -E &#8220;t\\w+[.]txt&#8221;<\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about [Li|U]nix: the tutor continues about grep capabilities. On the system I use, the + &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/liunix-grep-part-3-the-operator\/\"> <span class=\"screen-reader-text\">[Li|U]nix: grep part 3: the + operator<\/span> Read more \u2192<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[637],"tags":[],"class_list":["post-41221","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/41221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=41221"}],"version-history":[{"count":2,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/41221\/revisions"}],"predecessor-version":[{"id":41223,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/41221\/revisions\/41223"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=41221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=41221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=41221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}