vim is an acronym for
vi
improved. Works just like ye olde
vi, just has some perks added (such as multiple undo and command recall).
As for your problem with the shell script, I can't quite make out the difference between bash and "a real/true" shell (what's the difference for you anyways? A certain version?). On Linux, using bash and AT&T Korn Shell (test.sh was created on Windows XP using Notepad):
Code:
> cat test.sh
touch Apple
echo me thinks bash is not so good
> /bin/bash test.sh
touch: cannot touch `Apple\r': No such file or directory
me thinks bash is not so good
> /usr/bin/ksh test.sh
touch: cannot touch `Apple\r': No such file or directory
me thinks bash is not so good