No.
They’re ugly enough in C, and they can easily be transformed into something portable:
for ((a; b; c)); do blah done
↓
(( a )) while (( b )); do blah (( c )) done
So, *really*, no. I’m translating for loops in C source into while loops as I go, even.
No.
They’re ugly enough in C, and they can easily be transformed into something portable:
for ((a; b; c)); do
blah
done
↓
(( a ))
while (( b )); do
blah
(( c ))
done
So, *really*, no. I’m translating for loops in C source into while loops as I go, even.