ref: 96c2da5fef670527ba6a7655917803bc22e83e79
parent: 1180597e6d69c6012d3d70259e559b3010df6a87
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Oct 30 15:42:43 EDT 2024
strings: skip backslash+newline
--- a/read.c
+++ b/read.c
@@ -548,6 +548,8 @@
buf[i++] = (char)r;
else
i += runetochar(&buf[i], &r);
+ }else if(c == '\n'){
+ /* do nothing */
}else{
char esc = read_escape_control_char((char)c);
if(esc == (char)c && !strchr("\\'\"`", esc)){