History log of /src/usr.bin/tr |
Revision | Date | Author | Comments |
1.9 | 11-Aug-2013 |
dholland | Pass -Wpointer-sign.
|
1.8 | 10-Aug-2012 |
joerg | branches: 1.8.2; Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
|
1.7 | 20-Jun-2011 |
mrg | branches: 1.7.2; remove most of the remaining HAVE_GCC tests that are always true in the modern world.
|
1.6 | 29-Aug-2008 |
gmcgarry | branches: 1.6.18; Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
|
1.5 | 12-May-2006 |
mrg | branches: 1.5.22; use -Wno-pointer-sign with GCC4.
|
1.4 | 07-Dec-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
1.3 | 30-Jul-1993 |
mycroft | Add RCS identifiers.
|
1.2 | 27-Apr-1993 |
glass | integrated updated 'tr' from ftp.uu.net:bsd-sources
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 07-Dec-1994 |
jtc | imported from 4.4lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.5.22.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.6.18.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.7.2.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.7.2.1 | 30-Oct-2012 |
yamt | sync with head
|
1.8.2.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.11 | 11-Aug-2013 |
dholland | Simplify the parser handling.
|
1.10 | 11-Aug-2013 |
dholland | sprinkle const
|
1.9 | 11-Aug-2013 |
dholland | Make the parser state opaque. While here, fix a memory leak when using the [:foo:] syntax.
|
1.8 | 10-Aug-2013 |
dholland | Expose less of the parser state outside str.c.
|
1.7 | 06-Sep-2011 |
joerg | branches: 1.7.2; 1.7.8; ANSIfy. Sprinkle const and __dead.
|
1.6 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.5 | 20-Oct-1997 |
lukem | WARNSify, fix .Nm usage, getopt returns -1 not EOF, use <err.h>
|
1.4 | 01-Nov-1995 |
pk | Make more 8-bit clean (from Andreas Gustafsson; PR#1190).
|
1.3 | 07-Dec-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 | 27-Apr-1993 |
glass | branches: 1.1.1; integrated updated 'tr' from ftp.uu.net:bsd-sources
|
1.1.1.1 | 07-Dec-1994 |
jtc | imported from 4.4lite
|
1.7.8.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.7.2.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.30 | 26-May-2018 |
leot | Do not accept invalid octal character values (>= 0400).
This also avoid possible stack corruption (e.g. previously `tr -s '\400'' or similars lead to them).
Reviewed and thanks to <pgoyette>!
|
1.29 | 11-Aug-2013 |
dholland | branches: 1.29.4; 1.29.18; 1.29.24; Whitespace.
|
1.28 | 11-Aug-2013 |
dholland | Fix another bug, relating to parsing the [=x=] syntax.
|
1.27 | 11-Aug-2013 |
dholland | Tidy up more. This is pretty ratty code.
|
1.26 | 11-Aug-2013 |
dholland | Tidy up.
|
1.25 | 11-Aug-2013 |
dholland | Pass -Wpointer-sign.
|
1.24 | 11-Aug-2013 |
dholland | avoid undefined behavior.
|
1.23 | 11-Aug-2013 |
dholland | Simplify the parser handling.
|
1.22 | 11-Aug-2013 |
dholland | sprinkle const
|
1.21 | 11-Aug-2013 |
dholland | Make the parser state opaque. While here, fix a memory leak when using the [:foo:] syntax.
|
1.20 | 10-Aug-2013 |
dholland | Expose less of the parser state outside str.c.
|
1.19 | 08-Sep-2011 |
christos | branches: 1.19.2; 1.19.8; revert previous; don't change the logic.
|
1.18 | 08-Sep-2011 |
christos | don't forget to 0 init the rest of the array since now we removed the memset
|
1.17 | 08-Sep-2011 |
christos | a little more KNF, plus add \e (from the previous commit)
|
1.16 | 08-Sep-2011 |
christos | It is pointless to assign to the CLASS.set member and never use it again. Perhaps the author meant to check if it is already set and not allocated it again to avoid memory leaks? Anyway make everything const back and delete the unused code. Yes, this leaks the same way as before but it is insignificant. If we want to save memory we could use bytes or even bits instead of ints, and not allocate/initialize the same thing multiple times.
|
1.15 | 07-Sep-2011 |
joerg | Add comment to explain the const issue to avoid future trouble.
|
1.14 | 07-Sep-2011 |
riz | Remove newly-introduced const qualifier from static CLASS classes[], as CLASS->set gets changed in genclass(). Fixes a segfault doing:
tr '[:lower:]' '[:upper:]'
on (at least) amd64.
|
1.13 | 06-Sep-2011 |
joerg | ANSIfy. Sprinkle const and __dead.
|
1.12 | 13-Apr-2009 |
lukem | Fix WARNS=4 (-Wcast-qual -Wextra)
|
1.11 | 17-Jan-2007 |
hubertf | branches: 1.11.20; Remove duplicate #includes From Slava Semushin <slava.semushin@gmail.com>, via private mail
|
1.10 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.9 | 16-Mar-1999 |
kleink | Correct the ctype function used for [:print:] character class; from Soren S. Jorvang in PR bin/7167.
|
1.8 | 20-Oct-1997 |
lukem | WARNSify, fix .Nm usage, getopt returns -1 not EOF, use <err.h>
|
1.7 | 31-Aug-1995 |
jtc | Sync with 4.4lite2
|
1.6 | 07-Dec-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
1.5 | 22-Oct-1993 |
jtc | From Jeremy Scofield -- correctly terminate ranges with backquoted endpoint.
|
1.4 | 14-Sep-1993 |
jtc | Remove explicit declarations of isfoo() functions, because we fixed ctype.h to declare the isfoo() functions. Remove isblank, as our C library now provides it.
|
1.3 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.2 | 29-Jul-1993 |
mycroft | Don't repeat the last character in a range.
|
1.1 | 27-Apr-1993 |
glass | branches: 1.1.1; 1.1.2; integrated updated 'tr' from ftp.uu.net:bsd-sources
|
1.1.2.1 | 29-Jul-1993 |
mycroft | Don't repeat the last character in a range.
|
1.1.1.2 | 31-Aug-1995 |
jtc | imported from 44lite2
|
1.1.1.1 | 07-Dec-1994 |
jtc | imported from 4.4lite
|
1.11.20.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.19.8.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.19.2.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.29.24.1 | 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.29.18.1 | 08-Jun-2018 |
martin | Pull up following revision(s) (requested by leot in ticket #850):
usr.bin/tr/str.c: revision 1.30
Do not accept invalid octal character values (>= 0400).
This also avoid possible stack corruption (e.g. previously `tr -s '\400'' or similars lead to them).
Reviewed and thanks to <pgoyette>!
|
1.29.4.1 | 06-Jun-2018 |
martin | Pull up following revision(s) (requested by leot in ticket #1609):
usr.bin/tr/str.c: revision 1.30
Do not accept invalid octal character values (>= 0400).
This also avoid possible stack corruption (e.g. previously `tr -s '\400'' or similars lead to them).
Reviewed and thanks to <pgoyette>!
|
1.24 | 14-Jun-2021 |
christos | add alphabetic to lower for consistency (nabijaczleweli)
|
1.23 | 29-May-2019 |
gutteridge | tr.1: add a "see also" xref to ctype(3) (to align with an inline reference), improve punctuation, etc.
XXX lines 177-191 have been commented out since they were imported in r. 1.2 back in 1993, they should probably be re-examined, and revised or removed.
|
1.22 | 03-Jul-2017 |
wiz | branches: 1.22.6; Remove workaround for ancient HTML generation code.
|
1.21 | 10-Aug-2013 |
dholland | punctuation usage
|
1.20 | 29-May-2013 |
wiz | Expand "it's", and fix fix convention notation.
From Bug Hunting.
|
1.19 | 29-May-2013 |
wiz | - Improve wording and punctuation; - use `.Ex' macro for `EXIT STATUS' section; - add `SEE ALSO' section, referencing (back) dd(1) and sed(1); - bump date.
From Bug Hunting.
|
1.18 | 12-Nov-2009 |
joerg | branches: 1.18.6; 1.18.12; Do not use \." for comments, always use .\". Discussed with uwe@.
|
1.17 | 22-Aug-2009 |
joerg | Fix markup.
|
1.16 | 17-Sep-2006 |
wiz | "is be" -> "is"
|
1.15 | 24-Mar-2004 |
wiz | As in other man pages, use .Dq for strings, and .Sq for single characters. Add a comma after e.g.. Replace .sp with .Pp.
|
1.14 | 24-Mar-2004 |
fair | Document that tr(1) was written for US-ASCII and may not work as expected on other character sets which do not share ASCII's properties (e.g. a symmetric set of capital and lower case characters), per PR 18738
Change all double quotes to nroff macros. Change "System V" references to the .At macro.
|
1.13 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.12 | 20-Jul-2003 |
jmmv | Add the EXIT STATUS section header.
|
1.11 | 25-Feb-2003 |
wiz | .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
1.10 | 08-Feb-2002 |
ross | Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
|
1.9 | 08-Dec-2001 |
wiz | Punctuation nit.
|
1.8 | 01-Dec-2001 |
wiz | Whitespace cleanup.
|
1.7 | 06-Feb-1998 |
perry | macroize BSD, NetBSD, FreeBSD and misc cleanup
|
1.6 | 20-Oct-1997 |
lukem | WARNSify, fix .Nm usage, getopt returns -1 not EOF, use <err.h>
|
1.5 | 07-Dec-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
1.4 | 21-Sep-1993 |
jtc | Document "blank" character class.
|
1.3 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
1.2 | 27-Apr-1993 |
glass | integrated updated 'tr' from ftp.uu.net:bsd-sources
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 | 07-Dec-1994 |
jtc | imported from 4.4lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.18.12.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.18.12.1 | 23-Jun-2013 |
tls | resync from head
|
1.18.6.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.22.6.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
1.20 | 11-Aug-2013 |
dholland | Whitespace.
|
1.19 | 11-Aug-2013 |
dholland | Don't explicitly zero bss variables that are already zeroed.
|
1.18 | 11-Aug-2013 |
dholland | Add comments explaining how this works.
|
1.17 | 11-Aug-2013 |
dholland | Simplify the parser handling.
|
1.16 | 11-Aug-2013 |
dholland | Remove silly written-out initialization of string1.
|
1.15 | 11-Aug-2013 |
dholland | Make tr -c work. Fixes PR 48113.
When -c is in effect, scan string1 first, complement it, and then iterate over the results while scanning string2. Otherwise, scan string1 and string2 together as before.
|
1.14 | 11-Aug-2013 |
dholland | apply some CSE
|
1.13 | 11-Aug-2013 |
dholland | Restore preexisting wrong behavior of tr -c (translates all characters to the last letter in string2) instead of a different wrong behavior (translates all characters to 0xff) accidentally just introduced.
|
1.12 | 11-Aug-2013 |
dholland | sprinkle const
|
1.11 | 11-Aug-2013 |
dholland | Make the parser state opaque. While here, fix a memory leak when using the [:foo:] syntax.
|
1.10 | 10-Aug-2013 |
dholland | Expose less of the parser state outside str.c.
|
1.9 | 06-Sep-2011 |
joerg | branches: 1.9.2; 1.9.8; ANSIfy. Sprinkle const and __dead.
|
1.8 | 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.7 | 07-Aug-2003 |
agc | branches: 1.7.34; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.6 | 20-Oct-1997 |
lukem | WARNSify, fix .Nm usage, getopt returns -1 not EOF, use <err.h>
|
1.5 | 31-Aug-1995 |
jtc | Sync with 4.4lite2
|
1.4 | 07-Dec-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
1.3 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.2 | 27-Apr-1993 |
glass | integrated updated 'tr' from ftp.uu.net:bsd-sources
|
1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.3 | 31-Aug-1995 |
jtc | imported from 44lite2
|
1.1.1.2 | 07-Dec-1994 |
jtc | imported from 4.4lite
|
1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.7.34.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.9.8.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.9.2.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|