[Bug 1230374] Re: vi editor for loop syntax problem

Paul White 1230374 at bugs.launchpad.net
Mon Dec 24 10:33:20 UTC 2018


** Package changed: gnome-terminal (Ubuntu) => vim (Ubuntu)

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

Title:
  vi editor for loop syntax problem

Status in vim package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1230374/+subscriptions



More information about the foundations-bugs mailing list