File ksh93-read-dont-ignore-esc.dif of Package ksh

--- src/cmd/ksh93/bltins/read.c
+++ src/cmd/ksh93/bltins/read.c	2012-06-04 09:58:53.848644056 +0200
@@ -570,7 +570,13 @@ int sh_readline(register Shell_t *shp,ch
 		    case S_QUOTE:
 			c = shp->ifstable[*cp++];
 			inquote = !inquote;
-			goto skip;
+			if(val)
+			{
+				stakputs(val);
+				use_stak = 1;
+				*val = 0;
+			}
+			continue;
 		    case S_ESC:
 			/* process escape character */
 			if((c = shp->ifstable[*cp++]) == S_NL)
@@ -582,6 +588,7 @@ int sh_readline(register Shell_t *shp,ch
 			{
 				stakputs(val);
 				use_stak = 1;
+				was_escape = 1;
 				*val = 0;
 			}
 			continue;
openSUSE Build Service is sponsored by