> 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.


Reply via email to