-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已經爲此提交了一個編輯。 –