Re: Bug reports

2020-01-29 Thread Bernhard Voelker
On 2020-01-29 16:26, 李亮 wrote: > Hi, > > I executed two commands > > > > 1 > find /mnt/src -mindepth 3 -maxdepth 3 -type d -exec echo `echo {} | sed > 's/\/mnt\/src\//&\.\//'` \; > The output is > /mnt/src/1001/202001/20200101 > /mnt/src/1001/202001/20200102 > /mnt/src/1001/202001/20200128

Language lawyering the man pages

2020-01-29 Thread Álvaro António Santos
Hello all, The man pages for find (version 4.7.0-git) say the following at the end of the "EXPRESSION" section: If the whole expression contains no actions other than -prune or -print, -print is performed on all files for which the whole expression is true. For the following 2 examples, assume th

Bug reports

2020-01-29 Thread 李亮
Hi, I executed two commands 1 find /mnt/src -mindepth 3 -maxdepth 3 -type d -exec echo `echo {} | sed 's/\/mnt\/src\//&\.\//'` \; The output is /mnt/src/1001/202001/20200101 /mnt/src/1001/202001/20200102 /mnt/src/1001/202001/20200128 2 find /mnt/src -mindepth 3 -maxdepth 3 -type d -exe

[bug #57693] find wastefully calls stat for leaves

2020-01-29 Thread Vladimir Panteleev
URL: Summary: find wastefully calls stat for leaves Project: findutils Submitted by: vpanteleev Submitted on: Wed 29 Jan 2020 12:49:28 PM UTC Category: find Severity: