Loops/For: Difference between revisions

m
→‎ksh: fix category
(Add LDPL)
m (→‎ksh: fix category)
Line 3,806:
end</syntaxhighlight>
 
==={{header|Korn Shellksh}}===
{{works with|Korn Shell 93ksh93}}
<syntaxhighlight lang="bashksh">for ((x = 1; x <= 5; x=x += 1)); do
do
for ((y =1 0; y <= x; y +=y+ 1)); do
echo -n '*'
do
done
echo print -n '*'
echo ""
done
done </syntaxhighlight>
print
done </syntaxhighlight>
 
=={{header|UnixPipes}}==
559

edits