Subject: bug#5618: 23.1.91; shell-command-on-region unexpectedly erases buffer

From: Glenn Morris <[email-masked]>
Date: Tue, 23 Feb 2010 13:08:37 -0500

[email-masked] wrote:

> The whole content of the buffer gets replaced by output of
> command. According to the doc, I'd expect the ouput to be inserted
> before point.

I guess this is a documentation bug, in the same way as was

http://debbugs.gnu.org/4891

I'm not sure that the installed doc fix for that bug is actually
correct. The suggestion in

http://debbugs.gnu.org/4891#10

seems correct to me.