Problem.
directory=mac/1.x.x/**
even though mac/1.x.x/**/*.sql
is right path,
cat ${directory}/*.sql
the command above said No such file or directory
. and I want to make that possible.
What I tried.
to check the path is right, I did cat mac/1.x.x/**/*.sql
. and it worked
Does having ${}
interrupt cat command's path reading or something?