#!/bin/bash for i in {600..700} do count=`expr $i % 2` if [ $count -eq 0 ] then out="$out $i" fi done echo $out
时间: 2024-10-19 17:45:41
#!/bin/bash for i in {600..700} do count=`expr $i % 2` if [ $count -eq 0 ] then out="$out $i" fi done echo $out