I need to determine the byte position of the start point of a string for a csh script. I'm going to use
dd skip=NNN bs=1 if=huge-file of=not-so-huge-file
to take a very large file and skip NNN blocks with a single byte size, so I am just writing out the second half of a very large file.
Any ideas on either part? csplit won't work on this. It makes the split, but the second half of the file loses 60% or so of the size that it should be.
Thanks
Erik
dd skip=NNN bs=1 if=huge-file of=not-so-huge-file
to take a very large file and skip NNN blocks with a single byte size, so I am just writing out the second half of a very large file.
Any ideas on either part? csplit won't work on this. It makes the split, but the second half of the file loses 60% or so of the size that it should be.
Thanks
Erik