[bug #58149] Whitespace parsing differs with and without -i

2020-04-10 Thread anonymous
Follow-up Comment #2, bug #58149 (project findutils): [comment #1 comment #1:] > That is documented behavior. I see that in `man`, but not with `--help` which doesn't hint to that critical second part: -I R same as --replace=R -i, --replace[=R]replace R i

Re: recursive find in current and parent etc until an item is found

2020-04-10 Thread Peng Yu
Thanks. I will need to search the parent directory recursively. Does this code only search whether a file is in a parent their parents, etc., but not recursively for a given ancestor? On 4/10/20, Bernhard Voelker wrote: > On 2020-04-10 16:09, Peng Yu wrote: >> Hi, >> >> I'd like to look for a fil

Re: recursive find in current and parent etc until an item is found

2020-04-10 Thread Bernhard Voelker
On 2020-04-10 16:09, Peng Yu wrote: > Hi, > > I'd like to look for a file by its name in the current directory. If > not found, go the the parent and look for it again. If not go up one > level again and look for it, ... until it is found (or until a given > level is reached). If the file is not f

recursive find in current and parent etc until an item is found

2020-04-10 Thread Peng Yu
Hi, I'd like to look for a file by its name in the current directory. If not found, go the the parent and look for it again. If not go up one level again and look for it, ... until it is found (or until a given level is reached). If the file is not found, return an error. The resulted path should