I'm trying to select the files within a set of directories passed as arguments with the following:

```bsh
${@/%/*}

```

However, this is not ideal, since paths with spaces will break, and quoting the parameter expansion will in turn stop filename expansion. Is a satisfactory solution possible?

P.S.: I'm aware you should use `find -maxdepth` to perform this, but I'm curious about why is mixing parameter expansion with globbing seemingly so hard.