aGerman wrote: ↑
14 Jan 2022 11:22
AA is n-file x n-file operations and not n-file operations
??? If you read this twice (or three times or even four times) would you get any sensible information out of it?
Just guessing that nnnmmm tries to make a claim about quadratic run time requirement of that command.
The input seem to be the n different file names (n in ℕ) produced by the dir-command in the outer for-loop.
The 'x' seems to be used as a multiplication sign.
In that case, the op expects the loops to process n² file names in total, which is simply wrong, since it processes
only 3 additional file names (the file name itself again in the second for-loop and the two directories in the inner
2 loops) per processed batch file name (so that script ends up with 4n processed file names in total).