[hackers] [sbase] tr: Fix -c option when translating || Michael Forney
commit 035e14c516a04d93b6fcf33efb5164cdf6b5e191
Author: Michael Forney <mforney_AT_mforney.org>
Date: Mon Apr 27 00:49:02 2015 +0000
tr: Fix -c option when translating
diff --git a/tr.c b/tr.c
index 38ea6a3..ad5c690 100644
--- a/tr.c
+++ b/tr.c
_AT_@ -221,6 +221,8 @@ read:
else
goto write;
}
+ if (cflag)
+ goto write;
for (m = 0; m < i; m++)
off1 += rangelen(set1[m]);
off1 += r - set1[m].start;
Received on Mon Apr 27 2015 - 18:16:41 CEST
This archive was generated by hypermail 2.3.0
: Mon Apr 27 2015 - 18:24:15 CEST