i wont be able to predict the depth of sub-dirs. also, i need to go for variable inputs and cannot write *.sh as such. that i had given as an example. it could be different at different...
i dont think it will suite to my situation coz,
1. i cannot use fixed values like "/home/training" & "*.sh". i hv to go for variables only.
2. i want files from the sub-dirs too and...
src="/home/training"
typ="*.sh"
find $src -name '$typ' |
while read i
do
...
...
done
that also did not work out :(.
another point to note is that i cannot pass...