summaryrefslogtreecommitdiff
path: root/usr.bin/awk
AgeCommit message (Collapse)Author
2007-11-24fix yacc/lex parallel file generationMarc Espie
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-27printf(1) is the correct reference here, not printf(3);Jason McIntyre
from otto; ok millert
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-04-02Do not touch uninitialized variable, if sscanf(3) fails.Moritz Jodeit
ok millert@
2007-03-18allow this to build w/ cross-tools thru providing proper hostcflags; found ↵Michael Shalayeff
by rainor's work
2007-01-29sync the -f description w/ its synopsis;Jason McIntyre
2007-01-29sync usage(); spotted by Igor SobradoJason McIntyre
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