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

Re: Issue with histreduceblanks



On Sep 18,  9:12pm, Peter Stephenson wrote:
}
} Are there any non-ASCII characters on the line that might be confusing
} the algorithm (the option pre-dates handling of multibyte characters)?

If that were the case, I would expect history ops that reference words by
position would also be confused.  E.g., something like

zsh% print Only two kinds of witnesses exist.  The first live in a neighborhood
where !#:7 !#:8 !#:9

would likely substitute the wrong substrings for !#:7 etc., because the
same array of word positions is used to condense blanks.



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