[Bug 1230374] [NEW] vi editor for loop syntax problem

Launchpad Bug Tracker 1230374 at bugs.launchpad.net
Mon Dec 24 10:33:22 UTC 2018


You have been subscribed to a public bug:

for (( i=0; i<=5; i++ ))
do
        echo "$i Echoed"
done

this is what wrote in "bubble.sh" with vi editor and it gave me this error "bubble.sh: 1: bubble.sh: Syntax error: Bad for loop variable
"
i don't seem to understand why this is happening..please help

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
vi editor for loop syntax problem
https://bugs.launchpad.net/bugs/1230374
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to vim in Ubuntu.



More information about the foundations-bugs mailing list