View Single Post
Banned | Posts: 57 | Thanked: 2 times | Joined on Jul 2008
#12
Hi,

I installed bash for OS2007HE to access arrays.
Writing first shell script was a nightmare for me
as maemo has small screen I edited shell files on PC running Win XP
than saved a file as text .sh , moved to memory card,
moved to /home/user
chmod and tried to use,
forgetting to dos2unix.exe it first.

Installed gainroot, mc
and today try to edit basic shell script in mc's editor.

Installed dialog too to have some DOS-like interaction + menu
to run test shell scripts in sh and bash.

darius
Originally Posted by dfinch View Post
Since sh worked I presume I should continue with this at the begining of scripts?
How would I verify presense of bash? (I certainly have not loaded 'it' deliberatley)