summaryrefslogtreecommitdiff
path: root/usr.bin/tr/tr.c
AgeCommit message (Expand)Author
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26usr.bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: two-line .c patternWarner Losh
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
2018-06-19Convert `cap_enter() < 0 && errno != ENOSYS` to `caph_enter() < 0`.Mariusz Zaborski
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2016-10-07Remove the duplicated code using Capsicum helpers.Mariusz Zaborski
2016-09-19Move sys/capsicum.h includes after types.h or param.hConrad Meyer
2016-09-19tr(1): CapsicumifyConrad Meyer
2016-07-14Optimize [Cc]flag case: don't repeatedly add the last character ofAndrey A. Chernov
2016-07-14Back out non-collating [a-z] ranges (r302594).Andrey A. Chernov
2016-07-13Fully back out r302594 case 2) since overflow may happens.Andrey A. Chernov
2016-07-12Undo r302599 and partially r302594 case 2):Andrey A. Chernov
2016-07-11Cast WCHAR_MAX to wint_t, it can be unsigned on some systems.Andrey A. Chernov
2016-07-111) Following r302512 (remove collation support for [a-z]-ranges in libc)Andrey A. Chernov
2013-01-22When copying the complement of the string loop to WINT_MAX as we are dealingAndrew Turner
2011-11-06Add missing static keywords to tr(1)Ed Schouten
2010-12-11Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl
2009-12-13Revert most part of 200420 as requested, as more review and polish isXin LI
2009-12-11Remove unneeded header includes from usr.bin/ except contributed code.Xin LI
2005-04-09Remove unused variables.Stefan Farfeleder
2004-07-09Report input errors instead of ignoring them.Tim J. Robbins
2004-07-09Add support for multibyte characters. The challenge here was to useTim J. Robbins
2003-08-04Special fix just forAndrey A. Chernov
2003-08-03Microoptimization of prev. patch: do strdup() only if (cflag || Cflag)Andrey A. Chernov
2003-08-031) Fix -C - it was broken since introduced, wrong array sortedAndrey A. Chernov
2003-08-03Remove charcoll() stabilization added in 1.16, it gains nothing but conflictsAndrey A. Chernov
2003-08-03This patch address two problems.Andrey A. Chernov
2002-09-04ANSIify function definitions.David Malone
2002-07-29When translating and -C is specified, behave as if the complemented set wasTim J. Robbins
2002-07-29When translating and the -c option is specified, handle the case where theTim J. Robbins
2002-06-14Add the P1003.1-2001 -C option which complements the set of charactersTim J. Robbins
2002-06-14Implement support for equivalence classes ([=e=]) when the mapping isTim J. Robbins
2002-03-22remove __PWarner Losh
2002-03-02properly handle zero length first string when doing -cAlfred Perlstein
2001-12-11WARNS=2 fixes, use __FBSDID(), kill register keyword.Mark Murray
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1997-10-12Submitted by: Joachim Kuebart, thanks.Wolfgang Helbig
1997-08-18Use err(3) instead of local redefinition. Cosmetic in usage().Philippe Charnier
1997-03-29compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1997-03-11Merge from Lite2Peter Wemm
1995-10-28Fix broken charclass handlingAndrey A. Chernov
1995-05-30Remove trailing whitespace.Rodney W. Grimes
1994-05-27BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes