HF RL Explorer

Task: Extract First Few Lines from a Gzip Compressed File Without Fully Decompressing

Task: Extract First Few Lines from a Gzip Compressed File Without Fully Decompressing: a task in Terminal-Lego-15k (Harbor dataset). Read and extract the first few lines from a .gz (gzip) compressed file without fully decompressing the entire file to disk. The extracted lines should be written to…

The task

Read and extract the first few lines from a `.gz` (gzip) compressed file without fully decompressing the entire file to disk. The extracted lines should be written to an output file.

Part of PrimeIntellect/Terminal-Lego-15k.