shithub: neatroff

Download patch

ref: 85d669f660efd92b69ea5fa38bcc0500f1bf9871
parent: 89b72c4f5b5166aef068a0708b5f1cff993b9fb7
author: Ali Gholami Rudi <ali@rudi.ir>
date: Mon Dec 8 11:36:50 EST 2014

tr: do not alter the line number in .chop

--- a/tr.c
+++ b/tr.c
@@ -592,8 +592,6 @@
 {
 	struct sbuf sbuf;
 	int id;
-	if (args[1])
-		in_lf(args[2], eval(args[1], 0));
 	id = map(args[1]);
 	if (str_get(id)) {
 		sbuf_init(&sbuf);