Okay so I am having trouble understand what the computer will do with a code like this
if [ file exists ] ; then
echo
echo "Found the file"
blah blah blah
for i in `blah blah blah` ; do
echo $i
done >thing ; sed "/$blah/d" thing >thing2
break
else
continue
fi
done
blah blah blah
blah blah blah
I am just trying to figure out what would happen when you hit the break and if the file was not found what would happen if you hit continue. Does the done command effect what would happen next if you hit either break or continue?