summaryrefslogtreecommitdiff
path: root/usr.bin/sed
AgeCommit message (Expand)Author
2015-10-25Write error message instead of duplicated file name on error.Tobias Stoeckmann
2015-10-10normalize the ordering of tame requests (particularily, "rpath wpath cpath",Theo de Raadt
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-03sed only works on files, so the obvious goal is to remove it's networkTheo de Raadt
2015-07-20fix eyesore whitespaceJasper Lievisse Adriaanse
2015-07-19figure out the linewidth at initialization, rather than lateTheo de Raadt
2015-07-19Print strerror, not just the filename, if opening the inplace file fails.Stuart Henderson
2015-07-18various fixes; ok jasperJason McIntyre
2015-07-17add missing prototypeJasper Lievisse Adriaanse
2015-07-177 space indents??Theo de Raadt
2015-07-17add -i flag to sed to do in-place editing; mostly based on freebsdJasper Lievisse Adriaanse
2015-06-23POSIX specifies that that multiple '!' characters preceding aTodd C. Miller
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-04-13correct multiplication idiom during xreallocarray, and expand appendnumTheo de Raadt
2015-01-19Make some $OpenBSD$ lines prettier/standardier by eliminatingKenneth R Westerback
2014-12-12Bounds check the file path used in the 'w' command. Modified versionJonathan Gray
2014-12-12Rework the pointer swap in the 'P' command to make the intentJonathan Gray
2014-12-01sed has a xreallocarray(), but two n*s cases were not replacedTheo de Raadt
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-10-22make the description of the syntax of function lists agreeIngo Schwarze
2014-10-08add a xreallocarray() like the existing fatal xmalloc(), and use it toTheo de Raadt
2014-05-27paste in an EXAMPLES section, from posix spec;Jason McIntyre
2014-05-27there is no need to xref regex(3) and setbuf(3) in SEE ALSO - re_format(7)Jason McIntyre
2014-05-26tweak the text for -a and function lists;Jason McIntyre
2014-05-26rework the SED FUNCTIONS text;Jason McIntyre
2014-05-26the `P' function was crying out for a comma;Jason McIntyre
2014-05-26posix does not count `!' as a separate function, and neither should we;Jason McIntyre
2014-05-26remove the ugly hack that saw two It macros used to render one item; replaceJason McIntyre
2013-11-28unsigned char for ctypeTheo de Raadt
2011-09-17Rewrite the main loop of the "sed s/..." command, to fix multipleIngo Schwarze
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