From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Fri, 20 May 2016 09:46:17 -0700 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] /acme/edit commands? Topicbox-Message-UUID: 90fa5efc-ead9-11e9-9d60-3106f5b1d025 > I had thought the /acme/edit commands (Limbo versions are included with the > latest Inferno distribution, which also has an Acme with Edit) allow for the > editing of files at the command line using the Sam command language > (without having to run Acme itself), while using Edit requires loading the files > into Acme before operating on them. Am I wrong about either of these beliefs? > If I am correct, I like the idea of being able to use the /acme/edit commands > in shell scripts, just as I would use sed or other commands (rather than having > to use Acme itself, which is more complicated), and I would be interested in > having the /acme/edit commands available on Plan 9 / plan9port for use there > as well. all the recipes in /acme/edit/guide start with 'e' command (ee.l). 'e' starts by looking in /mnt/acme/index for the buffer id of "file"; it then operates on the corresponding buffer. so the edit commands are meant to operate in /mnt/acme namespace (i.e. inside acme). you can use 'sam -d' for shell scripts.