Join Nostr
2025-03-23 18:15:19 UTC
in reply to

mike805 on Nostr: A lot of the text parsing, and copy-change-duplicate code editing, can be done with ...

A lot of the text parsing, and copy-change-duplicate code editing, can be done with vim and textutils too. Especially if you have filters to make CSV files context-free and back.

For example, you have a config file with 50 similar clauses (ex: haproxy.cfg for many sites) and need to make a similar edit for each one.

Or you get a CSV file and need to update a table based on it.

Numbering the lines and then moving the ones you need to edit to the end temporarily is a useful trick.