Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: line continuation with sed




On 2022-10-14 13:38, Lawrence Velázquez wrote:

Don't fixate on filenames ending in spaces.  The standard behavior
of backslash is to escape the following character, whatever it is,
with the exception of LF.  Having \ SP behave differently depending
on whether it is at the end of a line or not would be ridiculous.

I understand, best to keep it simple and consistent even if there is 'invisible' trouble on occasion.  Once one is fully aware of the issue the problem is easily detected.  A special case exception here might be doable but it isn't necessary.  Come to think about it, I've run into this issue before, I'd just forgotten because as I said I had my editor set to remove trailing spaces automatically.









Messages sorted by: Reverse Date, Date, Thread, Author