【发布时间】:2021-08-03 01:17:23
【问题描述】:
为什么回显不返回 - /lsf10/monitors/lpstat_email_1_vmobius_05122021.txt? 它返回 --> $FILE
#!/usr/bin/ksh
integer max=3
integer i=1
while [[ $i -lt $max ]]
do
today=`date +%m%d%Y`
FILE = "/lsf10/monitors/lpstat_email_$i_vmobius_$today.txt"
echo "the $FILE"
echo $i
echo "the $FILE"
(( i = i + 1 ))
done
【问题讨论】: