Welcome albascura,
Using 'more' will take a long time to see that the format is correct at the end of the file. I don't use 'more', but I use 'pg' to display a page at a time. So 'more' may have an option to display the end of the file, but I would do the following:
If it works then you can try the original, and if that doesn't work, you have at least a temporary work around until you find the specific problem.gunzip -c bnc.xml.gz.Z > vi.testlist # I use 'vi.' for any temp + lists tail -100 vi.testlist | more # Check if end of file is +correct cat vi.testlist | perl provalong.pl testlist.txt rm vi.testlist # clean-up
Note: My background of AIX, '.Z' is used by the 'compress/uncompress' system commands and '.gz' is used with 'gzip/gunzip' system commands. Are you sure that the file wasn't created that way? 'compress' gets a 10% additional compression over 'gzip' and when disk drives were small, was a big deal. Today is not worth the CPU cycles.
Good Luck...Ed
"Well done is better than well said." - Benjamin Franklin
In reply to Re: Handling very big gz.Z files
by flexvault
in thread Handling very big gz.Z files
by albascura
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |