shithub: neatroff

Download patch

ref: 61b5569424ac26cfb990e9aef1027bd2fbf82ee5
parent: 4679c29ecb5bc237d8cac84d5a098c9bcbea5ba4
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sun Jun 21 11:52:15 EDT 2015

tr: fix \*[xyz "]"]

--- a/tr.c
+++ b/tr.c
@@ -848,7 +848,7 @@
 		quoted = 1;
 		c = next();
 	}
-	while (c >= 0 && c != '\n' && c != brk) {
+	while (c >= 0 && c != '\n' && (quoted || c != brk)) {
 		if (!quoted && c == ' ')
 			break;
 		if (quoted && c == '"') {