for (dir in `{grep -l '^'$pattern /mnt/acme/[0-9]*/tag | sed 's/tag//'}){
echo delete >$dir/ctl
}

where $pattern is the pattern you want to match


2013/4/4 dexen deVries <[email protected]>

> an Edit script, or an Rc script for Acme, to close all windows which names
> start with given (literal) prefix.
>
> use case: several files and directories of two projects open in one Acme
> instance. want to close all windows related to one of the projects, and
> leave
> the other project's windows open.
>
> --
> dexen deVries
>
> [[[↓][→]]]
>
>
>

Reply via email to