'crontab -e' only shows a number
Hi All
I just tried to change my 'root' crontab but I got the following result;
bash-2.03# crontab -e
1341
and then nothing. I can exit with Ctrl + D.
Any suggestion what might be the reason I cannot edit it ?
Thnx a lot
LuCa
Update: Its on a Solaris 8 sparc system
Message was edited by:
abcde-tje
[375 byte] By [
abcde-tje] at [2007-11-26 9:39:23]

# 1
% man crontab
[...]
tion.The environment variable EDITOR determines
which editor is invoked with the -e option. The
default editor is ed(1).
[...]
You are seeing the output of 'ed'. ^D and 'q<ENTER>' will both exit. You can either learn 'ed' or change your EDITOR to something like 'vi'.
The number by the way is the size of the file.
% wc /etc/motd
1849 /etc/motd
% ed /etc/motd
49
q
%
--
Darren