shithub: neatroff

Download patch

ref: 7c492a144688dc0e00306387bf80a654f8ea079a
parent: 6916b6ec34104898f179ef05ac0e194574d738e9
author: Ali Gholami Rudi <ali@rudi.ir>
date: Mon Sep 1 15:06:48 EDT 2014

tr: escaped spaces inside macro arguments

--- a/tr.c
+++ b/tr.c
@@ -734,6 +734,10 @@
 			if (c != '"')
 				break;
 		}
+		if (c == c_ec) {
+			sbuf_add(sbuf, c);
+			c = next();
+		}
 		sbuf_add(sbuf, c);
 		c = next();
 	}