> Date: Sun, 5 Sep 2021 09:11:21 +1000 > From: Reuben ua Bríġ <u5644...@anu.edu.au>
> > Date: Sat, 4 Sep 2021 23:22:29 +0100 > > From: ropers <rop...@gmail.com> > > > It's still a little disconcerting to me how getting sed to play nice > > with \n *from inside vi* still seems like a bridge too far > > easy peasy. to sed all spaces into newlines from nvi, enter oops. this copies ^J after ^` seeing as there is the & > :!sed 's/ /&^V^M/g;y/^V^M/\n/' > > echoed as > > :!sed 's/ /&^M/g;y/^M/\n/' > > but then it begs the question, why not open a new buffer and this does what i said before > :1,$s/ /^V^M/g > > echoed as > > :1,$s/ /^M/g