-3
帮助!我试图确定下面的shell脚本具有什么功能:这个shell脚本代码是做什么的?
#!/bin/sh
echo "Enter file name: \c"
read FILE
if [ $FILE = "example.txt" ]
then i=1
while [ $i -le 15 ]
do
cp example.txt example$i.txt
i=`expr $i + 1`
done
else
echo "ERROR"
fi
你能帮忙吗?
请格式化的代码段你的问题。 – hunteke
@hunteke已经为此提交了一个编辑。 –