When some invalid or undefined commands are executed in dc, it usually just prints a warning. Example:
cp
dc: stack empty
This is nice most of the time, however, there are cases where this is annoying as the desired action actually works. Consider this example:
5 6+sИlИp
dc: 0230 unimplemented
dc: 0230 unimplemented
11
See? Even if I try to use another register than those in the manual it still works. ("officially" 256, but how are you even supposed to use the NUL byte?)
Even if perhaps not always a good idea, I would like dc to now show me such warnings in some scripts.
How can I make dc not print warnings?
dc
's warning in this case is authentic and important. – Celada Apr 15 '17 at 17:07