Mass edit a data file
This server table was edited by hand, badly. Make it match the target shown in the panel below the prose, exactly — same lines, same order, one server per line.
What’s wrong with the buffer, top to bottom:
- four
hostvalues are wrapped in single quotes instead of double quotes - two
hostvalues have no quotes at all - every server reads
enabled = falseand should readenabled = true - three servers are marked
retired = trueand their lines should go
Every fault repeats, so a fix that works for one should be made to work for all of them at once, or be repeated cheaply. If a step has you stuck, lesson 9 covers search and moving between matches, lesson 10 the surround commands, and lesson 11 one cursor per match and per line. Undo is always there if a change goes wrong.