{"id":10724,"date":"2021-12-06T10:09:17","date_gmt":"2021-12-06T10:09:17","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=10724"},"modified":"2021-12-06T10:09:17","modified_gmt":"2021-12-06T10:09:17","slug":"batch-extract-3rd-column-from-csv","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/batch-extract-3rd-column-from-csv\/20858.html","title":{"rendered":"Batch &#8211; Extract 3rd Column From CSV"},"content":{"rendered":"<p>I do not do much programming, but I need to simply extract the 3rd column from a csv file and save it to another text file.<\/p>\n<p>&#8212;&#8211; Original CSV looks like this &#8212;&#8211;<br \/>\n834184.68161879,744798.14148857,copy Canal.htm generated_report\\<br \/>\n831194.46197547,749775.63555287,copy Channel.htm generated_report\\<\/p>\n<p>&#8212;&#8211; Desired text file &#8212;-<br \/>\ncopy Canal.htm generated_report\\<br \/>\ncopy Channel.htm generated_report\\<\/p>\n<p>The first 2 columns are X,Y coordinates, and I want to get rid of them. Thanks for the help.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":3},"question-category":[55],"question_tags":[],"class_list":["post-10724","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/10724","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=10724"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=10724"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=10724"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=10724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}