Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Fix loading of multi-line history entires from disk
On Jul 17, 8:08pm, Bart Schaefer wrote:
} Subject: Re: [PATCH] Fix loading of multi-line history entires from disk
}
} On Jul 17, 8:58pm, Peter Stephenson wrote:
} } Subject: Re: [PATCH] Fix loading of multi-line history entires from disk
} }
} } Bart Schaefer wrote:
} } > So, check out the following. This includes Augie's patch (backs out
} } > 30433) and adds an attempt at changing the output (appends a space after
} } > an even number of backslashes appearing at the end of an entry).
} }
} } That seems as minimal and compatible as we're going to get.
}
} OK, I'm going to go ahead and push 32882 while we discuss alternate
} end-of-entry markers.
It occurs to me that perhaps there's no point in distinguishing an even
number of backslashes -- if the entire history event ends with a
backslash, it doesn't matter whether there are an even number of them.
On the other hand, following an odd number of backslashes with a space
or semicolon wouldn't have the right effect either.
Is it even possible for a history event to end with an odd number of
backslashes?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author