From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <274d8b15073b2e13602ce4120fad0dd7@coraid.com> From: erik quanstrom Date: Sun, 22 Oct 2006 10:38:19 -0400 To: 9fans@cse.psu.edu Subject: Re: [9fans] Really basic acme Edit question In-Reply-To: <36f49ef93ce42441951ca5dccc0194b2@plan9.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: d0bd358a-ead1-11e9-9d60-3106f5b1d025 edit applies to the current seoection, so if you want to do a global sear= ch and replace you need Edit ,s:foo:bar:g you don't need SREs for something like this. - erik ' On Sun Oct 22 01:20:27 EDT 2006, chesky@plan9.jp wrote: > What are the steps to use the Edit command? I=E2=80=99ve been trying s= omething really simple=E2=80=94changing every occurence of =E2=80=98foo=E2= =80=99 to =E2=80=98bar=E2=80=99=E2=80=94 and can=E2=80=99t seem to make i= t work. I have some variation of > Edit s/foo/bar/ > in the window=E2=80=99s tag, middle-select the whole thing, and get an = error message saying =E2=80=9CEdit: no substitution=E2=80=9D. And this i= s after reading the manuals and /sys/doc/ papers on both acme and sam; I = just don=E2=80=99t get it. =E2=98=B9