summaryrefslogtreecommitdiff
path: root/usr.bin/awk
AgeCommit message (Collapse)Author
2006-11-04from ru@freebsd:Jason McIntyre
Fix a bug converting a variable from the numeric type to a string. ok otto deraadt
2006-04-16Handle / inside []s properly.Hugh Graham
OK by otto and millert. Offered back to bell-labs.
2006-03-29- document return value of cmd | getline [var]Jason McIntyre
- document fflush w/o arg from matthias kilian; ok otto
2006-03-19more sane calloc(3) usage; from adobriyan@gmail.com, ok millertPeter Valchev
2005-11-23Don't try to fclose(infile) when infile == NULL. This can happenTodd C. Miller
when using nextfile in the BEGIN block. From Matthias Kilian.
2005-05-12.Xr script 7Jason McIntyre
2005-04-15Use asprint(), not snprintf() when converting strings to numbersTodd C. Miller
since CONVFMT is user-settable (hence we can't know the actual buffer size requirements) and we need to store a dynamic copy of the result anyway. Fixes a truncation issue with weird CONVFMT values and closes PR 4172 (Matthias Kilian).
2004-12-30stdinit() and flush_all() are prototyped globally, no need to do itTodd C. Miller
inside functions that use them.
2004-12-30Restore error checking in tostring().Todd C. Miller
2004-12-30Update to version 20041222; OK deraadt@Todd C. Miller
2004-10-04refer to re_format.7 rather than egrep.1 for a description of EREs;Jason McIntyre
2004-05-08Use arc4random() unless the user specifies a specific seed, in whichTodd C. Miller
case, call srandom() and use random(). Avoid using rand() because it does not produce good random numbers. Based on a diff from deraadt@
2004-04-19point people to usd/psd docs;Jason McIntyre
2004-04-06- add margins when formatting w/ -TasciiJason McIntyre
- remove some macros that were causing formatting errors
2004-02-01add paper.txt target;Jason McIntyre
2004-01-15this header file parser is pathetic, and parsing the new yacc output itTheo de Raadt
barfed. spotted by pbastos@rdc.puc-rio.br but my fix, ok millert otto
2003-12-20- use .I and .B instead of .IT and .UL, respectively, to respect punctuationJason McIntyre
- make this page look better when formatted as text - make function descriptions more closely match the man page - typos
2003-12-19- adjust some list widths for better postscript outputJason McIntyre
- reference printf(1) for a list of C escapes
2003-12-19add an example showing how to print to standard error;Jason McIntyre
suggested by otto@
2003-12-18document various aspects of awk behaviour:Jason McIntyre
- when newlines are permissible - effects of null RS - $NF can be used to find value of last field - -F [ ] can be used to set FS to a single space - t and \t are synonyms when used with FS. use [t] for a literal `t'. - make [prog | -f profile] optional again in SYNOPSIS Also move the functions to the end of the page for a more logical layout.
2003-12-16expand documentation of built-ins:Jason McIntyre
group them according to POSIX - arithmetic, string, I/O, general and better document how they work. use section headers for more logical navigation. ok jose@
2003-12-14install awk USD;Jason McIntyre
i have replaced the out of date refer(1) stuff with man page references, and updated the doc slightly to sync with current awk; ok mickey@
2003-12-12- update SYNOPSISJason McIntyre
- standard options list - document -V and -d[n] - -mr and -mf no longer supported - some formatting issues - descriptions of examples before examples and indent examples - update SEE ALSO ok millert@
2003-12-01Format string fixes from art's amd64 tree.Alexander Yurchenko
ok rohee@ espie@
2003-11-24typo from Michael Knudsen;Jason McIntyre
also, kill some .Pp's before displays, and add one after;
2003-11-09Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>Otto Moerbeek
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-07-02protosTheo de Raadt
2003-06-30Awk first appeared in appeared in Version 7 AT&T UNIX.Todd C. Miller
2003-06-26caldera-licensed docMichael Shalayeff
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-04-28string cleaning. ok millert@ tdeval@Ted Unangst
2003-04-06more string business; millert ok and suggestion for strdupPeter Valchev
2003-04-04snprintf & strlcpy; tedu okTheo de Raadt
2003-02-18copyrights added;Jason McIntyre
bootpef(8), pppd(8): Carnegie Mellon map-mbone(8), mrinfo(8): Xerox pdisk(8): Apple awk(1): Lucent sectok(3): University of Michigan
2003-01-05add missing bracket; jmc@prioris.mini.pw.edu.plPeter Valchev
2002-12-19This file dates from back when the One True Awk needed patches toTodd C. Miller
build with flex and other changes for 4.4BSD. That is no longer the case...
2002-12-19Update to the One True Awk version 20021213Todd C. Miller
2002-07-17Fix omission in description of FS variable; from teduTodd C. Miller
2002-07-04catch malloc failures, my changes; found by cloder@acm.orgTheo de Raadt
2001-11-05some syslog_r uses in signal handlersTheo de Raadt
2001-09-08Update to latest version of the One True Awk. See the FIXES fileTodd C. Miller
for details.
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2000-11-21Sync usage() output with man page; mpech@prosoft.org.lvAaron Campbell
2000-11-10- Section shuffling: comply to the section ordering outlined in mdoc(7).Aaron Campbell
- Some .Nm trimming. - .Sh AUTHOR -> .Sh AUTHORS - Other miscellaneous fixes here and there.
2000-08-30mdoc'd awk(1) man page; thanks d@.Aaron Campbell
1999-12-08June 6, 1999 version of the "one true awk"Todd C. Miller
Most of the changes are to avoid using a static buffer for error messages.
1999-12-04Fix 2 core dumps:Todd C. Miller
1) give an error if the user specifies > 20 -f options instead of oflowing 2) use snprintf in the ERROR macro to avoid an oflow
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/