summaryrefslogtreecommitdiff
path: root/usr.bin/sed
AgeCommit message (Expand)Author
2017-07-19remove some spacing; ok schwarzeJason McIntyre
2017-02-22Remove unused-with-dead-store variable oldpsanl.Tom Cosgrove
2017-01-21Nuke more whitespace caught in the headlights of "warning:"Kenneth R Westerback
2017-01-20Split error() into error() and warning() so error() can be marked __dead toKenneth R Westerback
2016-10-26make it clear that the s/// numeric flag can containIngo Schwarze
2016-10-11Fix an off by one error when no matches were found in a substitute.Martijn van Duren
2016-07-14make several program to use "chown" promise.Sebastien Marie
2016-05-30Make sed use the new REG_STARTEND | REG_NOTBOL combination. This fixes a beginMartijn van Duren
2016-03-17Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.Anthony J. Bentley
2016-01-01Improve error message for sed -i by appending strerror(errno).tb
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-10-26Tidy up error() levels: merge COMPILE and COMPILE2, and kill ERROR (unused)Jeremie Courreges-Anglas
2015-10-26Use error(FATAL) instead of what was previously err(1,...)Jeremie Courreges-Anglas
2015-10-26Rename err() to error() to prevent confusion with the stdlib function.mmcc
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