On 26/06/20 09:24 -0500, Chris Adams wrote:
Once upon a time, Matthew Miller <mattdm(a)fedoraproject.org>
> And it really isn't just git, although that may the most common tool people
> run into it with. "crontab -e" is another example off the top of my head.
And visudo/sudoedit, systemctl edit, bash ^X^E, mysql \e, virsh edit,
less v, mutt, edquota, and a number of bug-report type things like perlbug.
That's just things off the top of my head, I'm sure there's more.
POSIX specifies the EDITOR env var and requires 'crontab', 'mailx',
and 'more' to use it. The decision for other non-POSIX utilities like
git to use it is an obvious choice, for consistency with standard
Amusingly, the fc utility requires "If FCEDIT is null or unset, ed
shall be used as the editor." Yikes ;-)