Edit scipts
Taken fom the 9fans mailing list, you can use ssam to make commands for editing text in acme.
Increase tab stop
a+:
#! /bin/rc
ssam 's:^: :g'
Decrease tab stop
a-:
#! /bin/rc
ssam 's:^ ::g'
dos2unix
d2u:
#! /bin/rc
ssam 's/
//g'
This script has a carriage return in it and does not render correctly :)
Usage
Use the pipe operation to pass the selection though to the command, for example
|a+
Select the text to convert, and middle click to apply. You can also use the operation Edit ,| to apply to the whole window
Edit ,|d2u
Credit to Ben Hancock(acme command references), Erik Quanstrom (the regex expressions).