bug-ed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in ed-0.3/ed-0.4


From: Paul Jackson
Subject: Re: bug in ed-0.3/ed-0.4
Date: Thu, 8 Mar 2007 15:54:56 -0800

> Paul, speaking of your patches, I was thinking about a possible
> compromise to multiple file support which does not introduce "new"
> (to GNU ed) syntax.  What if the "next" of multiple files were
> opened after a `q' command? This has no impact on old scripts that
> invoke multiple file arguments, expecting only the first to be
> processed.  This implementation is about 3 lines of code.

If others find that valuable - that's fine.

I've got my multi-file mutant syntax, using "e %" to open the
next file listed in argv[] for editing, so engrained in the
microcode in my fingers that it's easier for me to just keep
bringing my patch forward than to retrain myself.

Unless others get excited about this, I'd just say to heck with
it, so far as the community ed is concerned, and this feature.

And having a 'q' not quit would probably mess up both people
and scripts if they happened to be running ed with more than
one file listed on the command line, and expecting to actually
just edit the first one and quit (perhaps not ever having noticed
before that other files were named in argv[]).

'q' should not mean 'next' - that just seems kind of broken to me.

... nice idea though ;).

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <address@hidden> 1.925.600.0401




reply via email to

[Prev in Thread] Current Thread [Next in Thread]