sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 035e14c516a04d93b6fcf33efb5164cdf6b5e191
parent e34bcca3e3ad3f0b27f6fefebe63889fa7173b85
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 27 Apr 2015 00:49:02 +0000

tr: Fix -c option when translating

Diffstat:
Mtr.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/tr.c b/tr.c @@ -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;