What command-line text editors come bundled with macOS? [duplicate]
Since you did ask "What other options for command-line text editors are built into macOS?" and ed
was not mention in your OP, let me offer it as an addition to the list.
The manual page for ed
states:
The ed utility is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files.