メモ
max=100
for ((i=0; i < $max; i++)); do
#insert 0 or 00
if [ $[$i] -le 9 ];then
ZERO=00
elif [ $[$i] -le 99 ];then
ZERO=0
else
ZERO=''
fi
echo ${ZERO}$i
done
Go to list of users who liked
More than 5 years have passed since last update.
メモ
max=100
for ((i=0; i < $max; i++)); do
#insert 0 or 00
if [ $[$i] -le 9 ];then
ZERO=00
elif [ $[$i] -le 99 ];then
ZERO=0
else
ZERO=''
fi
echo ${ZERO}$i
done
Register as a new user and use Qiita more conveniently
Go to list of users who liked