On Wed, Jul 14, 2021 at 10:32 AM Antonio Diaz Diaz <anto...@gnu.org> wrote:
What "current GNU behavior" are you talking about? > I had persuaded myself that in GNU ed, as opposed to BSD ed, !echo '\%' output \ followed by the current filename, but that turns out not to be the case. Sorry. > > I further argue that '\\' should send a single backslash to the shell, so > > that you can write !echo '\\n" to get the output '\n'. > > Not so agreed. Now you can write !printf '\n' to get the output '\n'. > True. I won't argue this point further.