I often want to write commands like this (in zsh, if it\'s relevant):
zsh
find | \\ grep stringinfilenamesIwant | \\
Use
find -print0 | \ grep -z stringinfilenamesIwant | \ grep -zv stringinfilesnamesIdont | \ xargs -0 dosomecommand
However, the pattern may not contain newline, see bug report.