> > On 3 June 2012 02:12, Ethan Grammatikidis <[email protected]> wrote:
> > > On a related note, what is the point of multi-file editors? I can see
> > > their use with a primitive OS, but given ed and a shell with loops...
> > > well I'd like to see what remains easier in a multi-file editor.
> > 
> > Don't sam's X and Y commands demonstrate the usefulness of a
> > multi-file editor?
> 
> No. They precisely are a case of looping ed, or to be more exact,
> looping sam -d. The regexp matches only the name, exactly as the glob
> in for(f in <glob>). If you really want a regexp to match file names in
> the shell you have `{ls | grep <re>}.

i think you're ignoring the fact that any X command can be undone
by a single u command.  this isn't just window dressing.  (sorry.)
as you note, i can repeat {X ...; oops; u} as many times as necessary
then save all with X:':w.

how do you propose accompishing multi-file undo without a multi-file
editor?

- erik

Reply via email to