| History log of /src/usr.bin/tr/tr.c |
| Revision | | Date | Author | Comments |
| 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")
|