From 096c504d82b99e36cce20b0298cb32c70f4c61fe Mon Sep 17 00:00:00 2001 From: Laslo Hunhold Date: Wed, 5 Oct 2016 21:54:51 +0200 Subject: [PATCH] tr(1): Properly jump to output when inside set complement --- tr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tr.c b/tr.c index 926d1eb..29c9445 100644 --- a/tr.c +++ b/tr.c @@ -215,7 +215,7 @@ read: if (set1[i].start <= r && r <= set1[i].end) { if (dflag) { if (cflag) - continue; + goto write; else goto read; }