i...@9lab.org wrote:
> Quoth Ben Hancock :
> […]
> > By the way, […] cleaning whitespace at the end of a newline
> > (Edit ,x/ +$/d), acme does this by default on Put.
> […]
>
> Minor correction: There exist ACME patches accomplishing the above.
> Howbeit, ACME does not strip trailing
Quoth Ben Hancock :
[…]
> By the way, […] cleaning whitespace at the end of a newline
> (Edit ,x/ +$/d), acme does this by default on Put.
[…]
Minor correction: There exist ACME patches accomplishing the above.
Howbeit, ACME does not strip trailing whitespace on Put by default.
(Re-posting this message as earlier send appeared to fail; apologies for
any duplication.)
revr...@mweb.co.za writes:
> In sam I can create a script file consisting of a list of edit
> commands to apply to the document. [...] I would like to know if such
> a script would require the regular
Great tips. Thank you.
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/Taf408751bc6fb344-M6ae700b031c62aa50ebf7c05
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
You can, of course, execute multiple commands in one Edit, either lineline
or chroding the "{}" block:
Edit {
,x/a/c/b/
,x/d/c/e/
}
On Wed, Jan 18, 2023 at 8:46 AM Henri Ducrocq
wrote:
> Here is a script I wrote to run any arbitrary command (Edit, Look, etc)
> in a window (current one by
Here is a script I wrote to run any arbitrary command (Edit, Look, etc)
in a window (current one by default):
https://gist.github.com/perpen/9902359ddf09b24129277ce121e3e86d
E.g.: Aexe 'Edit ,blah'
It's quite horrible, as it appends the command to the body to run it
using an event (would have
Great tips. Thank you. I had no idea I could run ed commands that way.
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/Taf408751bc6fb344-M2ed9c18cedf4f94ca36b7c63
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
Hello,
the shebang (#!/bin/rc) just says which shell you want to run it. You could
also use /bin/ed, if you want to run ed commands, for example.
Acme can do pretty crazy stuff to extend it. For example, you can write your
own scripts (or programs) in any language you like. Middle-click can