In sam I can create a script file consisting of a list of edit commands to apply to the document. I then invoke *,| ssam -f my_script *to apply it. I would like to do something similar in acme. For example, create a script with these two commands to cleanup whitespace: Edit ,x/^ +/d Edit ,x/ +$/d I would like to know if such a script would require the regular #!/bin/rc heading, and how it would be invoked from within acme. I tried to do something in my scripts folder, but it did not work. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Taf408751bc6fb344-M3eb35eb0b706b85667532f19 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription