for ((x = 1; x <= 5; x += 1)) do for ((y = 0; y < x; y += 1)) do print -n '*' done print done