You're right. The utility I've been asked to provide is not intended to be used by anyone other than the requester, who wants the flexibility, and is aware of the risk, but not concerned.
Thanks to all of you who responded!
Comment on Re^3: Using eval to s/// with a pattern supplied on the command-line