J.H.M. Dassen wrote:
> One reason that I can think of is that with $EDITOR, a program can look at
> what editor the user wants, and choose command line options on the basis of
> that; that doesn't work with sensible-editor.

Look at sensible-editor:

#!/bin/bash
shopt -s execfail
exec ${VISUAL:-${EDITOR:-editor}} "$@"
...

It first tries VISUAL and EDITOR.

-- 
see shy jo

Reply via email to