Solaris 10 設定.profile後出現-sh: EDITOR=vi: is not an identifier

因為每次要執行crontab -e之前都要先export EDITOR=vi,所以想把變數EDITOR設定到.profile內,
下面是我修改後.profile的內容:
PATH=$PATH:/usr/X/bin:/usr/X11/bin
export PATH
export EDITOR=/usr/bin/vi
bash

但是重新登入後卻出現了-sh: EDITOR=vi: is not an identifier的錯誤訊息,
所以重新修改.profile,將export EDITOR=/usr/bin/vi分為兩行指令就正常了,內容如下:
PATH=$PATH:/usr/X/bin:/usr/X11/bin
export PATH
EDITOR=/usr/bin/vi
export EDITOR
bash

Windows 11安裝時跳過網路連線