commit 096c504d82b99e36cce20b0298cb32c70f4c61fe
Author:     Laslo Hunhold <[email protected]>
AuthorDate: Wed Oct 5 21:54:51 2016 +0200
Commit:     Laslo Hunhold <[email protected]>
CommitDate: Wed Oct 5 21:54:51 2016 +0200

    tr(1): Properly jump to output when inside set complement

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;
                        }

Reply via email to