20180511

The amount of patience required while doing a find+replace on a 750mb text file is ridiculous.

Just discover sed, what a sanity saver:

LC_CTYPE=C && LANG=C && sed -i -e 's|oldstring|newstring|g' export.sql

Takes all of 30 seconds instead of crashing apps. Much better.


Leave a Reply

%d bloggers like this: