freebsd-dev/usr.bin/tr
Ed Schouten b3608ae18f Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +00:00
..
cmap.c Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
cmap.h Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
cset.c Put parentheses in the right place. 2011-10-14 10:43:55 +00:00
cset.h Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
extern.h Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
Makefile Build tr(1) with WARNS=6. 2011-10-14 07:25:20 +00:00
str.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
tr.1 Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
tr.c Add missing static keywords to tr(1) 2011-11-06 08:17:42 +00:00