Article 4ZX6X shouldn't I get '1' for this for loop for continue statement

shouldn't I get '1' for this for loop for continue statement

by
spalisetty
from LinuxQuestions.org on (#4ZX6X)
Code:#! /bin/bash
#working on continue
for ((i=1;i<=10;i++))
do
if [ $i -gt 1 ] #i is currently 1 and it should print 1 as it skips if statement
then
continue
else
$1
fi
doneI am not getting any output. I believe I should get 1 as it skips further conditions for the 'for loop'latest?d=yIl2AUoC8zA latest?i=UwQq_zT-F-I:vwGjgjfL5Zs:F7zBnMy latest?i=UwQq_zT-F-I:vwGjgjfL5Zs:V_sGLiP latest?d=qj6IDK7rITs latest?i=UwQq_zT-F-I:vwGjgjfL5Zs:gIN9vFwUwQq_zT-F-I
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments