summaryrefslogtreecommitdiff
path: root/usr.bin/sed/main.c
AgeCommit message (Expand)Author
2024-11-06sed: fix commandline-given expression when -e is not usedMartin Cracauer
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26usr.bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
2020-06-10Read commands from stdin when -f - is passed to sed(1)Mateusz Piotrowski
2018-08-29sed: Fix -i option behavior with 'q' command.Mark Johnston
2018-07-09sed(1): Suppress implicit-fallthrough.Pedro F. Giffuni
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2017-02-05Restore r312404:Xin LI
2017-01-20Revert r312404 as we need to do an exp-run and fix existing ports thatXin LI
2017-01-19Use S_ISREG instead of manual & (also it's better to compare theXin LI
2016-08-02sed(1): Revert r303047 "cleanup" and therefore r303572.Pedro F. Giffuni
2016-07-31Fix regression with /i caused by r303047Enji Cooper
2016-07-30Remove usage of _WITH_GETLINE from usr.binBaptiste Daroussin
2016-07-28Don't call basename() and dirname() in an unportable way.Ed Schouten
2016-07-19sed(1): Assorted cleanups and simplifications.Pedro F. Giffuni
2016-05-10Revert r299279:Pedro F. Giffuni
2016-05-09Simplify redundant malloc'ing in sed -e.Pedro F. Giffuni
2015-01-27sed: fix pasto from previous r277802.Pedro F. Giffuni
2015-01-27Fix resource leak and dereference after NULL.Pedro F. Giffuni
2015-01-08sed: Address warnings with clang and gcc48.Pedro F. Giffuni
2014-08-08sed(1): Don't force a newline on last line, if input stream doesn't have oneJean-Sébastien Pédron
2014-07-03More sed(1) usage fixing: the extension -i is not optional.Pedro F. Giffuni
2014-07-02Fix sed(1) usage: the extension -i is not an optional.Pedro F. Giffuni
2014-06-21Drop ifdef nonsense: just use setvbuf(3).Pedro F. Giffuni
2014-06-20Add -u (unbuffered output) after GNU sed.Pedro F. Giffuni
2013-06-26sed: use getline() instead of fgetln().Pedro F. Giffuni
2011-01-08sed: Try hard links to make -i target available continually.Jilles Tjoelker
2010-03-31Make -r mean exactly the same thing as -E for increased compatibilityWarner Losh
2009-12-13Revert most part of 200420 as requested, as more review and polish isXin LI
2009-12-11Remove unneeded header includes from usr.bin/ except contributed code.Xin LI
2008-02-09WARNS fixes:David Malone
2007-11-08Fix visibility of "inplace".Diomidis Spinellis
2007-06-12Don't forget to clear out the hold space for each subsequent fileYaroslav Tykhiy
2007-04-21Change the semantics of -i (in-place editing) so that it treatsYaroslav Tykhiy
2005-09-24The function inplace_edit() doesn't exist anymore, remove the prototype.Stefan Farfeleder
2005-05-10Add option -l, to make output line buffered.Gleb Smirnoff
2005-02-09Include missing headers.Stefan Farfeleder
2004-08-09Per letter dated July 22, 1999 remove 3rd clause of Berkeley derivedDiomidis Spinellis
2004-07-14Make the 'y' (translate) command aware of multibyte characters.Tim J. Robbins
2004-06-03Plug a file descriptor leak.Brian Somers
2003-11-04Fix the case where the file is not in the current directory.Dag-Erling Smørgrav
2003-11-04Reimplement in-place editing in a slightly less disgusting manner. Also,Dag-Erling Smørgrav
2003-11-04ANSIfyDag-Erling Smørgrav
2003-11-04Correct style bugs in the in-place editing code.Dag-Erling Smørgrav
2002-07-30Fix some bugs in in-place editing:Tony Finch
2002-07-03Avoid checking whether each line is the last line of the file when we don'tTim J. Robbins
2002-06-22Don't store newlines at the end of each line in the hold/pattern spaces,Tim J. Robbins