vi editor for loop syntax problem

Bug #1230374 reported by Suman Mitra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Paul White (paulw2u)
affects: gnome-terminal (Ubuntu) → vim (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.