Crontab -e returns a number

On a solaris system I sometimes try to edit the crontab file with crontab -e and all I get in return is a number (signifying the number of characters by the ed editor I believe).

# crontab -e
4025
^C
?
The crontab file was not changed.

I need to Ctrl-D to exit.To get the ball rolling again:

EDITOR=vi;export EDITOR

Then

crontab -e

should work as expected.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>