Problems when specifying -maxdepth
hancooper via Bug reports for the GNU find utilities <[email protected]>
| Newsgroups | gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <tAPsfL9N_dGtgQLpZgB6UhmCE1sI2z8ZGgGd7xaCLah17fu9OlRRvyJ2UQj3fzFBJa0ZMnJYeeNw3foLmzUQJyocvwpfUNnrR00E21nLz04=@protonmail.com> |
I am getting complaints by find when using dlc=$( find $2 -type d -maxdepth $3 | tr "\n" " " ) find ./01cuneus -type d -maxdepth 2 | tr "\n" " " find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.