Hello Gabriel, Gabriel Farrell wrote:
I've noticed that trailing spaces are not ignored when a filename is input.
I think this is the (correct) behaviour of all editors and commands in general. I have tried moe, joe and nano, and none of them ignore trailing, leading or embedded spaces in filenames. Not even when the name is specified in the command line:
$ touch a.txt $ ed "a.txt " a.txt : No such file or directory $ rm "a.txt " rm: cannot remove `a.txt ': No such file or directory $ rm a.txt $
This has become an annoyance because I'm often wrapping ed in rlfe, which appends a space to the filename upon tab completion.
Then I guess the bug is in rlfe (whatever it is). Best regards, Antonio. _______________________________________________ bug-ed mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ed
