Home | History | Annotate | only in /src/usr.bin/fmt
History log of /src/usr.bin/fmt
RevisionDateAuthorComments
 1.10 14-Apr-2009  lukem Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.9 22-Oct-2006  mrg branches: 1.9.26;
mail/head.c: make the previous delta only apply if FMT_PROG is not defined
fmt/Makefile: define FMT_PROG.
 1.8 16-Mar-2006  christos warns=4
 1.7 19-Sep-2002  lukem use NETBSDSRCDIR as appropriate
 1.6 02-Mar-2002  wiz WARNS=2.
 1.5 08-May-1997  gwr Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
 1.4 06-May-1997  gwr Use .PATH.c: ...
 1.3 01-Sep-1995  jtc Sync with 4.4lite2
 1.2 31-Jul-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 01-Sep-1995  jtc imported from 44lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.26.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.5 13-Oct-2017  christos Wse wide functions to avoid file corruption. Q+D because it does not
use wcwidth().
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 04-Jan-2006  christos branches: 1.3.20;
- use BUF_SIZE instead of BUFSIZ
- operator precedence in length calculation
- update buffer end pointer when buffer position does not change.
 1.2 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.1 15-Dec-2005  christos PR/32305: seebs: Eliminate buffer overflows and simplify code by using
dynamically allocated buffers.
 1.3.20.1 18-May-2008  yamt sync with head.
 1.13 30-Jun-2012  christos add -w as an alias to -m
 1.12 10-Mar-2009  joerg branches: 1.12.6;
Specify width for tag list.
 1.11 26-Aug-2008  lukem branches: 1.11.6;
"-indent" isn't a valid directive to .Bl, and "-offset indent" didn't
seem consistent with other man pages. Remove it.
 1.10 29-May-2007  christos branches: 1.10.12;
- getopt parsing
- add raw mode [-r]
- add -g and -m to get the goal and max respectively.
- document that lines that start with a period or look like mail headers
don't get formatted.
 1.9 11-Sep-2005  wiz Use more markup. From YOMURA Masanori in private mail.
While here: new sentence, new line; |fmt; s/.br/.Pp/
 1.8 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.7 01-Dec-2001  wiz Sort SEE ALSO.
 1.6 18-Sep-2000  abs Switch centre to -C from -c. Now different from FreeBSD, but avoids conflict
with Solaris, Linux and others.
 1.5 15-Sep-2000  abs Add '-c' for center (from FreeBSD)
 1.4 18-Oct-1997  lukem WARNSify, fix .Nm usage
 1.3 01-Sep-1995  jtc Sync with 4.4lite2
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 01-Sep-1995  jtc imported from 44lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.11.6.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.12.6.1 30-Oct-2012  yamt sync with head
 1.33 13-Oct-2017  christos Wse wide functions to avoid file corruption. Q+D because it does not
use wcwidth().
 1.32 30-Jun-2012  christos add -w as an alias to -m
 1.31 21-Jul-2008  lukem branches: 1.31.2;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.30 13-Apr-2008  dholland branches: 1.30.4;
Remove insane centering code (that broke on strings of length 1) and
replace it with sane centering code. Fixes PR bin/38209, although with
a different patch.
 1.29 09-Mar-2008  christos PR/38207: Aleksej Saushev: fmt reports non-existing files erroneously
 1.28 15-Dec-2007  perry branches: 1.28.2;
convert __attribute__s to applicable cdefs.h macros
 1.27 03-Jun-2007  christos branches: 1.27.4;
make sure we have args before we try to parse numbers in the compat argument
parsing. From Gary Duzan
 1.26 29-May-2007  christos - getopt parsing
- add raw mode [-r]
- add -g and -m to get the goal and max respectively.
- document that lines that start with a period or look like mail headers
don't get formatted.
 1.25 15-Jan-2006  christos fix trailing blank munging.
 1.24 15-Jan-2006  christos revert the line calculation as it used to be pre-buffer changes.
 1.23 05-Jan-2006  christos more casts to void
 1.22 04-Jan-2006  christos fix problem introduced when the computation was changed to unsigned. If
we've exceeded the goal length already the negative number turned into
a large positive one...
 1.21 16-Dec-2005  christos use putchar consistently.
 1.20 15-Dec-2005  christos small cleanups from seebs...
 1.19 15-Dec-2005  christos PR/32305: seebs: Eliminate buffer overflows and simplify code by using
dynamically allocated buffers.
 1.18 30-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.17 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.16 02-Mar-2002  wiz ANSIfy, minor KNF.
 1.15 02-Oct-2000  abs Tweak last to only allow highbit characters >=160, to avoid issues with
characters 128 + 0..31
 1.14 02-Oct-2000  abs Do not strip highbit characters.
 1.13 18-Sep-2000  abs Switch centre to -C from -c. Now different from FreeBSD, but avoids conflict
with Solaris, Linux and others.
 1.12 15-Sep-2000  abs Add '-c' for center (from FreeBSD)
 1.11 02-Nov-1999  jwise GC savestr() function. Makes this build again on i386 (this hadn't been used
for a while, but showed up due to recent static poisoning.) Note that although
fmt.c builds against ../mail/head.c, this function never actually gets used.
 1.10 02-Nov-1999  jdolecek process correctly whole line even when it's longer than BUFSIZ characters -
previously, all characters of a line after the first BUFSIZ characters
were just trimmed
while here, do some const & static poisoning
 1.9 19-Dec-1998  christos branches: 1.9.2; 1.9.4;
char -> unsigned char
 1.8 12-Feb-1998  ross abs() numeric parameters to allow portable invocations in scripts.
 1.7 18-Oct-1997  lukem s/index/strchr
 1.6 18-Oct-1997  lukem WARNSify, fix .Nm usage
 1.5 31-May-1997  kleink Determine characters to be swallowed by means of locale and ctype.
This addresses PR/3693 from Jaromir Dolecek <dolecek@moria.ics.muni.cz> but
does not really fix it, as the new ctype package has yet to be integrated.
 1.4 01-Sep-1995  jtc Sync with 4.4lite2
 1.3 24-Dec-1994  cgd pull in stdlib.h and string.h, kill unnecessary declaration.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 01-Sep-1995  jtc imported from 44lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.2.1 05-Nov-1999  cgd pull up revs 1.10-1.11 from trunk (requested by jdolecek):
Process lines longer than BUFSIZ characters correctly.
 1.27.4.2 23-Mar-2008  matt sync with HEAD
 1.27.4.1 09-Jan-2008  matt sync with HEAD
 1.28.2.1 24-Mar-2008  keiichi sync with head.
 1.30.4.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.31.2.1 30-Oct-2012  yamt sync with head

RSS XML Feed