[hackers] [sbase] tr(1): Properly jump to output when inside set complement || Laslo Hunhold
commit 096c504d82b99e36cce20b0298cb32c70f4c61fe
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Wed Oct 5 21:54:51 2016 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
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
_AT_@ -215,7 +215,7 @@ read:
if (set1[i].start <= r && r <= set1[i].end) {
if (dflag) {
if (cflag)
- continue;
+ goto write;
else
goto read;
}
Received on Wed Oct 05 2016 - 21:55:21 CEST
This archive was generated by hypermail 2.3.0
: Wed Oct 05 2016 - 22:00:31 CEST