So in my bash shell script, I have it running through a for loop. Inside the for loop, I use
find "$myarray[i]" >> $tmp to look for a certain directory each time through the loop. Sometimes, it finds the variable in
myarray[i] and sometimes it doesn't. When it does find something in
myarray[i], I want it to execute
echo "<br>" >> $tmp. Is there a way for me to check whether
$tmp has changed after executing the
find line, so that I know when to execute the
echo "<br>" >> $tmp line?