VIM configuration profile for sh/bash is incorrect
Issue
-
Get a syntax error with BASH shell scritps when editing in VIM. Edit following shell script with vim:
#!/bin/bash echo -e "Enter your name: \c" read name echo "Your name is $name"
Environment
- Red Hat Enterprise Linux (RHEL) 5.2 (and later)
- vim-common-7.0.109-6.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
