You are viewing a single comment's thread. Return to all comments →
for i in {1..99} do [[ expr$i % 2-ne 0 ]] && echo $i done
expr
-ne 0 ]] && echo $
Seems like cookies are disabled on this browser, please enable them to open this website
Looping and Skipping
You are viewing a single comment's thread. Return to all comments →
for i in {1..99} do [[
expr
$i % 2-ne 0 ]] && echo $
i done