We have code that generates a large number of files with names like stdout, stdout.qsub, stderr, stderr.foo, etc.
I would like to do
find <dir> -name (stdout|stderr) -exec ...
and only find stdout and stderr files, no stdout.qsub, etc.
So I can't do '-name "std*"'. In this case, I can do '-name "std[eo][ru][rt]"', and it works because there won't be any stdeut files to be found by that search.
Is there a cleaner way to do this than '-name "std[eo][ru][rt]"'?