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

This commit is contained in:
Laslo Hunhold 2016-10-05 21:54:51 +02:00
parent 456f3c4211
commit 096c504d82

2
tr.c
View File

@ -215,7 +215,7 @@ read:
if (set1[i].start <= r && r <= set1[i].end) { if (set1[i].start <= r && r <= set1[i].end) {
if (dflag) { if (dflag) {
if (cflag) if (cflag)
continue; goto write;
else else
goto read; goto read;
} }