in reply to system command error

In addition to the other comments in this thread, you do realize that that parses as: (name matches *.std*) or (name matches ULOG.* and older than 9 days and is a file and I can delete the file)

In other words, if the file matches *.std*, it'd never do any of the rest, because the "or" is like Perl's "or", and very low precedence (lower than the implied "and" between the rest of the steps).

Perhaps you wanted:

find . \( -name '*.std* -o -name 'ULOG.*' \) -mtime +9 -type f -exec r +m {} \;
and then appropriate escaped from there...

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.