CHUNKY: Stata module to chunk a large text file into smaller parts

chunky breaks a large text file into chunks of a size specified by the user. It is typically used to break a huge data dump that is too large for infiling into smaller manageable chunks. chunky will allow creation of serially named chunks for subsequent infiling or insheeting. The smaller data subsets can then be appended together to create a dataset with all required observations. This version of chunky has been completely rewritten to use the Mata capabilities of Stata release 9 and higher and the syntax has completely changed. The previous version has been deprecated as chunky8. Some users may still require a line-indexed method of chunking files so chunky8 will continue to be supported.