I would like to search all files containing an association of strings (here the files should contain 'arthur' AND ('déni' OR 'deni') for instance) in a directory and subdirectories. After some search I came up with the following code:
egrep -li 'arthur' `egrep -lir 'déni|deni' /path/to/files/`
the trouble is I get error messages because many files and directories contain spaces. Is there a way to go round this issue?