@wallhackio it’s the kind of crime where fur your use case, actually reaching the pathological case would require a deeply psychological working directory, so whatever. but it’s good to know the robust way of doing things in case you ever need to handle a sufficiently generic use case that evil filenames are something you should be able to handle
@wallhackio but anyway, anything that amounts to for f in $(find ...), even if with extra steps, is just a classic sneaky bug; you can find decades-old FAQs telling you not to do it