{"id":9965,"date":"2021-12-05T00:46:09","date_gmt":"2021-12-05T00:46:09","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=9965"},"modified":"2021-12-05T00:46:58","modified_gmt":"2021-12-05T00:46:58","slug":"grep-a-string-at-specific-position","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/unix\/grep-a-string-at-specific-position\/8933.html","title":{"rendered":"Grep a String At Specific Position"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I have a text file which contains thousands of record and each record has a length of 256 characters.<\/p>\n<p>I need to grep for the lines containing the text 401055, starting at column 9.<\/p>\n<p>How do I achieve this with grep or egrep command? I don&#8217;t want a shell script or awk to achieve this.<\/p>\n<p>Thanks,<br \/>\nBalaji.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":1},"question-category":[64],"question_tags":[],"class_list":["post-9965","question","type-question","status-publish","hentry","question-category-unix"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/9965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=9965"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=9965"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=9965"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=9965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}