summaryrefslogtreecommitdiff
path: root/usr.bin/awk
AgeCommit message (Collapse)Author
2011-09-28Update awk to Aug 10, 2011 version; naddy@ reports no ports problemsTodd C. Miller
from the update.
2011-05-02no need to escape `|'; as discussed with schwartzeJason McIntyre
2011-04-20Stash the old seed when srand() is called and use it as the returnTodd C. Miller
value as per POSIX and the fine manual. Fix sent upstream to bwk. OK deraadt@
2011-03-22some small tweaks from Michael W. Bombardieri;Jason McIntyre
ok sobrado
2011-02-07Between groff-1.15 and groff-1.20.1, the .Ns macro was changed to noIngo Schwarze
longer suppress spacing when used at the beginning of an input line, and mandoc now follows the same behaviour as new groff. Thus, sweep the tree and remove useless .Ns. Most places found by jmc@; ok jmc@ kristaps@.
2010-10-01more EXIT STATUS tweaks; from Daniel DickmanJason McIntyre
2010-08-25get rid of the nawk hard linkTheo de Raadt
ok millert guenther
2010-08-08convert some of the weirder displays into lists, to avoid mangling;Jason McIntyre
2010-06-13Update awk to May 23, 2010 version. OK miod@Todd C. Miller
2010-01-10remove references to docs we no longer install;Jason McIntyre
2010-01-04Stop installing many of the incredibly dated and un-authoritative share/docTheo de Raadt
files. If any information found in these documents is worthwhile and you miss it, please make the time to work it into the manual pages (which people actually do read). ok guenther
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-10-06Update awk to version 20071023; OK deraadt@Todd C. Miller
2008-09-04+awk does not support {n,m} pattern matchingJason McIntyre
noted by Vadim Zhukov, though slightly different (doc) fix committed; ok millert
2008-07-25repair .Pq use; Alan R. S. BuenoTheo de Raadt
2008-06-04tweak previous, and arrange the text to read a little better;Jason McIntyre
2008-06-04Extend awk with bitwise operations. This is an extension to the awkPierre-Yves Ritschard
spec and documented as such, but comes in handy from time to time. The prototypes make it compatible with a similar GNU awk extension. ok millert@, enthusiasm from deraadt@
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@
2008-02-27fail nicely instead of crashing for format strings containing '*',Theo de Raadt
without a matching argument following from Jukka Salmi
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@