git: tr(1): Sync with FreeBSD.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Jan 12 17:40:26 PST 2016


commit fbc9049bb05b3ca966e87d4c55eb360cbc38f5d3
Author: Sascha Wildner <saw at online.de>
Date:   Wed Jan 13 02:39:46 2016 +0100

    tr(1): Sync with FreeBSD.
    
    * Multibyte character support.
    
    * Better POSIX conformance.
    
    * Some cleanup and improvements.

Summary of changes:
 usr.bin/tr/Makefile                               |   4 +-
 usr.bin/tr/cmap.c                                 | 211 ++++++++++++++++
 lib/libc/locale/wcstombs.c => usr.bin/tr/cmap.h   |  71 ++++--
 usr.bin/tr/cset.c                                 | 289 ++++++++++++++++++++++
 lib/libc/string/wcscasecmp.c => usr.bin/tr/cset.h |  56 ++++-
 usr.bin/tr/extern.h                               |  31 ++-
 usr.bin/tr/str.c                                  | 209 +++++++++-------
 usr.bin/tr/tr.1                                   | 179 +++++++++++---
 usr.bin/tr/tr.c                                   | 283 ++++++++++++++-------
 9 files changed, 1055 insertions(+), 278 deletions(-)
 create mode 100644 usr.bin/tr/cmap.c
 copy lib/libc/locale/wcstombs.c => usr.bin/tr/cmap.h (57%)
 create mode 100644 usr.bin/tr/cset.c
 copy lib/libc/string/wcscasecmp.c => usr.bin/tr/cset.h (58%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fbc9049bb05b3ca966e87d4c55eb360cbc38f5d3


-- 
DragonFly BSD source repository



More information about the Commits mailing list