summaryrefslogtreecommitdiff
path: root/usr.bin/sed
AgeCommit message (Expand)Author
2024-08-28Fix the case where the pattern space is empty but does not startTodd C. Miller
2024-07-17sed: use warn()/err() where appropriateTodd C. Miller
2024-07-17Display an error message for "sed -i" if the file is unwritableTodd C. Miller
2024-06-18Rename mf_fgets() and cu_fgets() to mf_getline() and cu_getline().Todd C. Miller
2023-02-08sed: add missing void to avoid -Wstrict-prototype with clang 15Theo Buehler
2022-12-28the S in CSRC is Science not SciencesJonathan Gray
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
2022-09-14clarify behaviour when the second address in a range is smaller thanJason McIntyre
2022-08-03sed(1) first appeared outside of Bell Labs in PWB/UNIX 1.0Jonathan Gray
2022-01-12Make lputs use psl instead of expecting it to be null-terminated.Martijn van Duren
2021-03-08Add some references, most of these were removed when we stopped buildingJonathan Gray
2021-01-31replace fgetln(3) with getline(3) in sedChristian Weisgerber
2020-10-16double word fixes; from varik valeforJason McIntyre
2020-10-13Un-const what we pass to dirname(3).Martijn van Duren
2018-12-10correct inaccurate and misplaced information in CAVEATSIngo Schwarze
2018-12-08revert previous, it breaks regress and the llvm, gtk+2, and gtk+3 portsIngo Schwarze
2018-12-07As an extension to POSIX, for consistency with our behaviour forIngo Schwarze
2018-12-06Add support for "-" as an input file for stdin as per POSIX.Martijn van Duren
2018-11-14Make sed's -i flag more compatible with what gsed does.Martijn van Duren
2018-08-14Improve consistency of the substitution command further.Ingo Schwarze
2018-07-11Make the output of the list command more sensible for the output device.Martijn van Duren
2018-07-11Rephrase the wording on the replacement string of the substitute command.Martijn van Duren
2018-07-10Disentangle the "SED ADDRESSES", "SED REGULAR EXPRESSIONS",Ingo Schwarze
2018-07-09When using '[' as the delimiter in sed(1) s/// (don't do that, of course)Ingo Schwarze
2017-12-19Remove EXAMPLES section.Martijn van Duren
2017-12-13Fix array index by signed char; from martijn@Todd C. Miller
2017-12-13Fix sign compare warnings; OK martijn@Todd C. Miller
2017-12-13Enable compiler warnings; OK martijn@Todd C. Miller
2017-12-12Fix 2 bugs introduced by previous.Martijn van Duren
2017-12-11Fix and change y command in the following ways:Martijn van Duren
2017-12-08Make the r command filename obligatory, similar to what FreeBSD and NetBSDMartijn van Duren
2017-12-07Make the command formatting more consistent.Martijn van Duren
2017-08-01Apply stricter pledge rules if possible. These are based on the usage ofMartijn van Duren
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