summaryrefslogtreecommitdiff
path: root/usr.bin/m4/m4.1
AgeCommit message (Collapse)Author
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-08-22kill trailing whitespace;Jason McIntyre
2008-08-21Document new gnu extensions, okay jmc@, otto@Marc Espie
2008-08-16fixMarc Espie
2008-08-16argument parsing should only skip spaces outside of parenthesis.Marc Espie
Inside matching parenthesis, keep spaces as is (use chrsave instead of pbstr, since there's no way it can be a further macro expansion). Fixes a long-standing issue with autoconf ( --option -> --option), matches other m4 than gnum4 okay millert@, fries@
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
2006-12-12tweak previous, and update usage(); ok grunkJason McIntyre
2006-12-12mention the fact that m4 also accepts files via cmdlineAlexander von Gernler
ok espie@ jmc@
2006-08-29fix a typo. it's esyscmd, not esycmd.Marc Balmer
ok jmc
2006-03-23kill whitespace at eol;Jason McIntyre
2006-03-20add limited support for format builtin in gnu-m4 mode, because I'm fedMarc Espie
up of patching it away in various autoconf derivatives. okay miod@
2005-09-30deploy .An -nosplit; ok jmcJared Yanovich
2005-09-07tweaks;Jason McIntyre
ok espie@
2005-09-07sort options and sync usage()Jason McIntyre
2005-09-06less diff in -g/not -g.Marc Espie
mentioned by otto@
2005-09-06finally make our m4 SusV3-compliant.Marc Espie
- changecom and changequote have a simple definition (that matches gnu-m4, coincidentally, so we no longer need two distinct modes for these) - off-by-one bug in -s, this finally works. - reorder main parser loop, so that we can use alphabetic constructs in quotes/comments. - rename putback to pushback, this matches comments, and makes more sense. - more uniform (and updated) description of changequote/changecom. - new, systematic regression tests of comments/quotes. - framework to test -s: one perl script to reconstitute `full' files with all line numbers, so that we can verify the output without needing a complete match. okay otto@, fries@
2005-03-02let m4wrap handle multiple wraps, both in normal and gnu-mode.Marc Espie
based on Noah Misch's bug report. okay otto, jmc.
2004-05-25kill whitespace;Jason McIntyre
2004-05-25name parameters for built-ins, so that we get less awkward phrasing.Marc Espie
Leave out the changed description of changecom/changequote for later.
2004-02-17Change the maketemp() description into what it really does.Miod Vallat
ok espie@ jmc@
2003-06-29Explain in more details how define interacts with pushdef/popdef, andMarc Espie
how that varies from an m4 implementation to another. ok jmc@
2003-06-27- replace .Ql with .Sq; this was also causing a problem with postscriptJason McIntyre
- escape ampersand - missing full stop fixes from wiz@netbsd
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-14built in -> built-in;Jason McIntyre
from NetBSD (Igor Sobrado); smrsh(8) passed on to sendmail people; ok millert@
2003-02-18copyrights added;Jason McIntyre
these are all Regents of the University of California
2003-02-16Forgot to document -o, somehow.Marc Espie
2003-01-07.Sq -> .QlMike Pechkin
Make sence. Spotted by jmc@acn.waw.pl pvalchev@, millert@
2003-01-05Grammar and typo fixes, general language improvementsPeter Valchev
from jmc@prioris.mini.pw.edu.pl with changes by me
2002-04-28Implement -s.Marc Espie
Triggered by recent FreeBSD changes. - emits #line directives at every file change (like FreeBSD) - maintains a synch_lineno variable to verify when the output gets out of synch with the input, so that it can emit #line to re-synch as well (unlike FreeBSD) To do: either handle \end-of-line, or recognize when a macro expansion is in progress, so that line synch don't perturb cpp on multi-line expansions. With this, we should have a fully POSIX-compliant m4. ok miod@
2002-04-18correct description of undefine, both according to the code, and toMarc Espie
single unix.
2001-09-29document tracing and compatibility with other m4.Marc Espie
2001-09-27traceon/traceoff built-ins.Marc Espie
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-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-07-27Handle unlimited diverts for m4 -g.Marc Espie
Problem with autoconf noticed by d@
2000-07-24Implement esyscmdMarc Espie
2000-07-06Insert more missing .El directives. Our troff really should identify these andAaron Campbell
spit out a warning.
2000-04-17Move some misplaced periods outside of the parentheses.Aaron Campbell
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-23Fix some formatting problems I missed before.Aaron Campbell
2000-03-18Last needed m4 changes to bootstrap autoconf without gnu-m4.Marc Espie
2000-03-11Add a few builtins for greater compatibility with gnu-m4, and extendedMarc Espie
functionality. * regular expressions, * line-number reporting * `meta'-macros, builtin and indir. Reviewed by pjanzen@, tested by fries@ and a few others.
2000-03-10Various cleanups and standardization.Aaron Campbell
2000-01-11Don't recognize built-ins in contexts where they don't make sense.Marc Espie
Namely, it doesn't help to try and expand include if it's not followed by parenthesis and a filename. This should make applications like sendmail m4 scripts more sturdy for unquoted machine names that happen to collide with built-ins. The only drawback is that our m4 may now do intelligent things with scripts that don't work on other systems.
1999-11-17TypoMarc Espie
1999-09-14Implement -I option and M4PATH environment variableMarc Espie
1999-09-06TypoMarc Espie