On Sat 10 Mar 2007 10:29:28 NZDT +1300, Nick Rout wrote:

> The -e option is used to edit the current crontab using the editor 
> specified by  the  VISUAL  or  EDITOR
>       environment variables.  After you exit from the editor, the 
> modified crontab will be installed automati-
>       cally.

Well whatever they say, you'd need to set both those variables and fact
is that VISUAL takes precedence (something they don't say, and which is
a bit dubious for an application which clearly need to edit a file).

> echo $EDITOR, $VISUAL
nedit, nedit
> env EDITOR=joe crontab -e

Pops up nedit.

This behaviour has existed more than a decade ago on Solaris and forever
on Linux.

Volker

-- 
Volker Kuhlmann                 is list0570 with the domain in header
http://volker.dnsalias.net/     Please do not CC list postings to me.

Reply via email to