Re: find: print trailing slash for directories

2022-08-07 Thread Martin Schulte
Hi! > Could somebody please advise, if there is some easy way to patch this > myself? DISCLAIMER: - For the reasons mentioned here before I don't consider this a good idea but as long as you promise not to tell anyone that it was me you provided the patch ;-) - I tried it with Debian 11 - It ha

Re: find: print trailing slash for directories

2022-08-07 Thread Fourhundred Thecat
> 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 h

Re: find: print trailing slash for directories

2022-08-07 Thread Bernhard Voelker
On 8/6/22 09:20, Fourhundred Thecat wrote:> how difficult would it be to patch find, to print trailing slash for > directories? > > This seems like a very useful feature, without interfering with > compatibility or specifications. > [...] > I am wondering if some simple patch would be possible to