> On 2022-08-07 12:49, Bernhard Voelker wrote:
On 8/6/22 09:20, Fourhundred Thecat wrote:> how difficult would it be to patch find, to print trailing slash for
> find \( -type d -printf '%p/\n' \) -or \( -print \)
thank you, but this solution is quite tedious to type, especially when already having a complicated search construct (ie combination with -prune). And I don't see how I could create an alias for this.
a) find(1) is a tool with looong history and many scripts rely on its behavior, b) compatibility with other implementations, and c) the POSIX specification
thank you, I appreciate the explanation. For my personal use, I would prefer having trailing slash after directories by default, even if that breaks some pure idea of POSIX standard compatibility Could somebody please advise, if there is some easy way to patch this myself? thank you