summaryrefslogtreecommitdiff
path: root/usr.bin/sed
AgeCommit message (Expand)Author
2011-07-26Backout previous, naddy@ found the following regression:Ingo Schwarze
2011-07-24Rewrite the main loop of the "sed s/..." command, shortening it by tenIngo Schwarze
2010-11-15NUL-terminate buffer in compiler_text() after realloc, not before.Todd C. Miller
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-07-01Follow POSIX (IEEE Std 1003.1, 2004 Edition) in the implementationChristian Weisgerber
2010-07-01Allow [ to be used as a delimiter.Christian Weisgerber
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
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-23When adding text due to an a, c, or i command, don't eat the space(s) atReyk Floeter
2009-08-07tweak previous;Jason McIntyre
2009-08-07add -E flag to compile regular expressions using the extended POSIXDamien Miller
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
2008-10-16Move memory allocation closer to where it is needed. Also makeTodd C. Miller
2008-10-09Now that len is set later in compile_subst() we need to move theTodd C. Miller
2008-10-09In compile_subst(), adjust for the fact that the initial bufferTodd C. Miller
2008-10-09Don't strip newline when reading lines; matches the original behavior.Todd C. Miller
2008-10-08Allow sed to handle arbitrarily long lines. Also plug a memoryTodd C. Miller
2008-10-07The 'l' command should not encode newlines. Also document thatTodd C. Miller
2008-10-07There is no /usr/old/bin/sed so compare test results against /usr/bin/sedTodd C. Miller
2008-09-01note that the opening delimiter of a context address should be precededJason McIntyre
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
2007-03-20Add line-buffering flag (-u).Ray Lai
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2007-01-09Accept empty command, from Matthew R. Dempsky; ok deraadt@ millert@Otto Moerbeek
2006-10-26- document that multiple commands may be newline or semicolon separatedJason McIntyre
2006-10-24+.Ex -std sedJason McIntyre
2006-10-09pretty. the comma operator should not be used to cram two statements intoTed Unangst
2005-04-11spacingTheo de Raadt
2004-10-04remove some incorrect apostrophes, and make the text referring toJason McIntyre
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2004-07-10xmalloc()->xrealloc() so that patterns larger than _POSIX2_LINE_MAX*2-1Otto Moerbeek
2004-07-09From the other BSDs: fix a bug that made sed(1) fail if the lastOtto Moerbeek
2004-06-131-byte overflow; ryo@nerv.org, otto okTheo de Raadt
2004-04-06- add margins when formatting w/ -TasciiJason McIntyre
2004-02-17Unbreak numeric flag parsing. Based on a fix from Jared Yanovich; thisOtto Moerbeek
2004-02-01add paper.txt target;Jason McIntyre
2004-01-31make USD reference a little clearer;Jason McIntyre
2004-01-29- replace old-style macrosJason McIntyre
2004-01-23`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))Jason McIntyre
2004-01-02point people to re_format(7) for a description of basic regularJason McIntyre
2003-11-07adress -> address, and a few more; all from Jonathon Gray;Jason McIntyre
2003-11-07prevent overflow, see freebsd r1.32. also, do nicer reallocs.Ted Unangst
2003-10-07handle ; terminators for strings like other sed programs do. this isTheo de Raadt
2003-09-02escape punctuation;Jason McIntyre
2003-08-27install sed USD;Jason McIntyre
2003-06-26caldera-licensed docMichael Shalayeff
2003-06-10mostly ansi cleanup; pval okTheo de Raadt