I understand the skriptpart you posted is a shellscript /
stuff-you-enter-on-command-line.
If that is the case you might want to use xargs and here
documents:
xargs Report -raw -view fileView -where << EOF| pipegoeshere
? "fileView.Attr1 in ('eggs') and fileView.Attr2 in ('yes') and fileVi
+ew.Attr3 in ('blue')"
? EOF