#!/bin/ksh
#########################
for i in {1..30} ;do
echo $i
done
output is:
{1..30}
What is wrong in my code?
{1..30}
belongs to bash
.
Use this:
for((i=1;i<=30;i++)); do
echo $i
done
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With