Scenario: trying to get ride of some initial lines from an SQL dump file to be able to properly import it on my local Postgres database. File size is around 80GB.
$ sd 'CREATE PROFILE.*' "" db-dump.sql
memory allocation of 84931776403 bytes failedAborted (core dumped)
An application that tries to emulate or be an easier sed should work with files of any size, by chunks. Not try to load the whole thing in memory. Otherwise I'd just use my favourite editor.
Scenario: trying to get ride of some initial lines from an SQL dump file to be able to properly import it on my local Postgres database. File size is around 80GB.
An application that tries to emulate or be an easier
sedshould work with files of any size, by chunks. Not try to load the whole thing in memory. Otherwise I'd just use my favourite editor.