[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] parser handling of \^A
From: |
Chet Ramey |
Subject: |
Re: [PATCH] parser handling of \^A |
Date: |
Fri, 13 Oct 2023 11:22:13 -0400 |
User-agent: |
Mozilla Thunderbird |
On 10/13/23 12:36 AM, Grisha Levit wrote:
AFAICT, everything works fine if parse_matched_pair just stores \^A as
is (as long as dequote_string doesn't drop trailing ^A's). This seems
a lot easier than the alternative of teaching the subst.c functions to
handle \^A^A and \^A^? specially but maybe there's some other approach.
Thanks for the report. I think this approach is fine.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/