Re: [virtio-dev] [PATCH] fixupdiff: escape ^ caret

From
Cornelia Huck <>
Date
2022-04-20T12:57:13+00:00
ID
Thread
Re: [virtio-dev] [PATCH] fixupdiff: escape ^ caret
On Tue, Apr 19 2022, "Michael S. Tsirkin" <> wrote:

> Since commit:
>
> commit 1e30753d53d222fbe955f0643583d756105d557e
> Author: Jan Kiszka <>
> Date:   Fri Oct 11 13:43:41 2019 +0200
>
>     Fix ^= in example code
>
>     Trying to escaping ^ here only leaves the backslash in the output.
>
>     Signed-off-by: Jan Kiszka <>
>     Signed-off-by: Michael S. Tsirkin <>
>
> we have plain ^ inside listing. Escape it with \ but only
> if not already escaped (as output of diff with old source will be).
>
> Signed-off-by: Michael S. Tsirkin <>
> ---
>  fixupdiff.pl | 4 ++++
>  1 file changed, 4 insertions(+)

Thanks, pushed as an editorial update.