in reply to Re: 15 billion row text file and row deletes - Best Practice?
in thread 15 billion row text file and row deletes - Best Practice?
If that's in a file called "kill.list", then just run sed like this:/0001234/d /0004567/d /0089123/d ...
On a file of a few hundred GB, I agree that using sed for this very simple sort of editing would be a significant win (save a lot of run time).sed -f kill.list big.file > tmp.copy mv tmp.copy big.file
|
|---|