My almost first script. What's wrong?
Code:
#!/bin/bash
cd $HOME
cd Desktop
for (( i = 1; i >= 3; i++ ))
do
cp 'job.temp' "job_$i.qsub"
echo "./foo $i 5. 0. 133" > "job_$i.qsub"
done
Expected behaviour: 3 files that contain job.temp with an extra string at the end.
Observed: No new files. No error message. Absolutely nothing.
Question: What's wrong and what is the good way to do it?
Ubuntu Linux install+configuration+software installation: 3 hoours.
WindowsXP install+configuration+software installation: 5 hours
Bookmarks