From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] Sam / text search query From: rog@vitanuova.com MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20020619160312.C573F19A67@mail.cse.psu.edu> Date: Wed, 19 Jun 2002 17:08:32 +0100 Topicbox-Message-UUID: b3aa37ce-eaca-11e9-9e20-41e7f4b1d025 > not forgetting that the "s" command supports \(...\) etc. ...while remembering that, as with all regexps in plan 9, the old ed-like \( and \) become egrep-like ( and ), so the old: s/\([a-z]*\) \([a-z]*\)/\2 \1/ becomes: s/([a-z]*) ([a-z]*)/\2 \1/