I have my loop for:
for i in 1.34* do if [ -f $i/rela/*log ] ; then echo $i >> /tmp/allog else echo $i >> /tmp/alnolog fi done
Is working well. We have different version of releases in ascending order. Often i need to create another file with all the version which don't have any log into the directory. The problem is when i have to create this file with a lot of version to insert.
I'd like to create a script and ask the first release with which I have to start and the last one(the normal format for the release is 1.34.0.04).