summaryrefslogtreecommitdiff
path: root/usr.bin/tr/str.c
AgeCommit message (Expand)Author
2018-05-26Do not accept invalid octal character values (>= 0400).leot
2013-08-11Whitespace.dholland
2013-08-11Fix another bug, relating to parsing the [=x=] syntax.dholland
2013-08-11Tidy up more. This is pretty ratty code.dholland
2013-08-11Tidy up.dholland
2013-08-11Pass -Wpointer-sign.dholland
2013-08-11avoid undefined behavior.dholland
2013-08-11Simplify the parser handling.dholland
2013-08-11sprinkle constdholland
2013-08-11Make the parser state opaque. While here, fix a memory leak when usingdholland
2013-08-10Expose less of the parser state outside str.c.dholland
2011-09-08revert previous; don't change the logic.christos
2011-09-08don't forget to 0 init the rest of the array since now we removed the memsetchristos
2011-09-08a little more KNF, plus add \e (from the previous commit)christos
2011-09-08It is pointless to assign to the CLASS.set member and never use it again.christos
2011-09-07Add comment to explain the const issue to avoid future trouble.joerg
2011-09-07Remove newly-introduced const qualifier from static CLASS classes[],riz
2011-09-06ANSIfy. Sprinkle const and __dead.joerg
2009-04-13Fix WARNS=4 (-Wcast-qual -Wextra)lukem
2007-01-17Remove duplicate #includeshubertf
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
1999-03-16Correct the ctype function used for [:print:] character class; from Soren S.kleink
1997-10-20WARNSify, fix .Nm usage, getopt returns -1 not EOF, use <err.h>lukem
1995-08-31Sync with 4.4lite2jtc
1994-12-07Merged with 4.4lite.jtc
1993-10-22From Jeremy Scofield -- correctly terminate ranges with backquoted endpoint.jtc
1993-09-14Remove explicit declarations of isfoo() functions, because we fixedjtc
1993-08-01Add RCS identifiers.mycroft
1993-07-29Don't repeat the last character in a range.mycroft
1993-04-27integrated updated 'tr' from ftp.uu.net:bsd-sourcesglass