Is there a way to implement the following using \'for\' in KornShell (ksh)? Here is the C equivalent:
for(i=1;i<20;i++) { printf(\"%d\",i); } <
for(i=1;i<20;i++) { printf(\"%d\",i); }
ksh93 offers braceexpansion also if "braceexpand" is "on". Check with "set -o" and then use curly braces {}
for i in {1..20} do print $i done