Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: splitting files into multiple sections to be processed as a file

by Marshall (Prior)
on Nov 30, 2011 at 05:23 UTC ( #940780=note: print w/ replies, xml ) Need Help??


in reply to splitting files into multiple sections to be processed as a file

I would be very helpful if you could explain why you want to do this, ie, the application?

If you want to split some big file because it doesn't fit on a CD, just open the input file and start writing to an output file. Keep track of the number of bytes written, when its too big, start a new file (outfile_part1, outfile_part2, etc).

I think there is a *nix utility that does file splitting, but not necessarily on line boundaries.

I have no idea at all what you mean or intend by "virtual file".


Comment on Re: splitting files into multiple sections to be processed as a file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940780]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2015-07-05 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls