John Cowan wrote:
You are confusing two things here. Adding a space after doing
filename completion so that you can type the next argument is fine.
What is a fatal error is to pass such trailing space to the
application. It is rlfe the one that should be stripping the
trailing space, as the shell does, not ed.
That would require readline to keep track of which trailing spaces
were supplied by completion and which were not,
Not at all. Spaces that must not be stripped by rlfe can be escaped:
's/foo/foo\ '
Regards,
Antonio.
_______________________________________________
bug-ed mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ed