
{"id":5273,"date":"2011-06-22T21:59:31","date_gmt":"2011-06-22T21:59:31","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=5273"},"modified":"2011-06-22T21:59:31","modified_gmt":"2011-06-22T21:59:31","slug":"5273","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/06\/22\/5273\/","title":{"rendered":"csplit &#8211; split a file into sections determined by context lines"},"content":{"rendered":"<h4><u> A UNIX Command <\/u> <\/h4>\n<pre>\n$cat test.text\nhello\nhow\nare you ?\n$csplit test.text 1\n0\n20\n$cat xx00\n$cat xx01\nhello\nhow\nare you ?\n$rm xx*\n$csplit test.text 2\n6\n14\n$cat xx00\nhello\n$cat xx01\nhow\nare you ?\n$rm xx*\n$csplit test.text 3\n10\n10\n$cat xx01\nare you ?\n$cat xx00\nhello\nhow\n$csplit test.text 4\n20\ncsplit: `4': line number out of range\n$cat xx01\nare you ?\n$ls xx00\nls: cannot access xx00: No such file or directory\n$\n\n\n<\/pre>\n<p><\/p>\n<h4><u> UNIX Explanation <\/u> <\/h4>\n<pre>\nOutput pieces  of FILE  separated by PATTERN(s)  to files\n`xx00', `xx01', ..., and output byte counts of each piece\nto standard output.\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A UNIX Command $cat test.text hello how are you ? $csplit test.text 1 0 20 $cat xx00 $cat xx01 hello how are you ? $rm xx* $csplit test.text 2 6 14 $cat xx00 hello $cat xx01 how are you ? $rm xx* $csplit test.text 3 10 10 $cat xx01 are you ? $cat xx00 hello &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/06\/22\/5273\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;csplit &#8211; split a file into sections determined by context lines&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5273"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=5273"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5273\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=5273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=5273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=5273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}