From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 14 Aug 2015 19:27:13 -0700 To: 9fans@9fans.net Message-ID: <5a583f4f2eee248b3c22bc254d0feba3@brasstown.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] p9p sed vs linux sed Topicbox-Message-UUID: 66bae54e-ead9-11e9-9d60-3106f5b1d025 i think the change doesn't work for any multi-line file: ; cp /sys/src/cmd/sed.c /tmp/notsed.c ; cd /tmp ; ed notsed.c ; ed notsed.c 27827 putline(Biobuf *bp, Rune *buf, int n) +4 ebputc(bp, '\n'); d w 27808 q ; tmk notsed.c 6c -FVTw notsed.c 6l -o 6.notsed notsed.6 ; ; {echo a ; echo b} | 6.notsed 's/./.=E2=98=BA/g' .=E2=98=BA.=E2=98=BA;=20 - erik