aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/sed/main.c
Commit message (Expand)AuthorAgeFilesLines
* Read commands from stdin when -f - is passed to sed(1)Mateusz Piotrowski2020-06-101-4/+14
* sed: Fix -i option behavior with 'q' command.Mark Johnston2018-08-291-2/+3
* sed(1): Suppress implicit-fallthrough.Pedro F. Giffuni2018-07-091-0/+2
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Restore r312404:Xin LI2017-02-051-1/+1
* Revert r312404 as we need to do an exp-run and fix existing ports thatXin LI2017-01-201-1/+1
* Use S_ISREG instead of manual & (also it's better to compare theXin LI2017-01-191-1/+1
* sed(1): Revert r303047 "cleanup" and therefore r303572.Pedro F. Giffuni2016-08-021-34/+44
* Fix regression with /i caused by r303047Enji Cooper2016-07-311-1/+5
* Remove usage of _WITH_GETLINE from usr.binBaptiste Daroussin2016-07-301-1/+0
* Don't call basename() and dirname() in an unportable way.Ed Schouten2016-07-281-2/+8
* sed(1): Assorted cleanups and simplifications.Pedro F. Giffuni2016-07-191-45/+31
* Revert r299279:Pedro F. Giffuni2016-05-101-1/+6
* Simplify redundant malloc'ing in sed -e.Pedro F. Giffuni2016-05-091-6/+1
* sed: fix pasto from previous r277802.Pedro F. Giffuni2015-01-271-2/+2
* Fix resource leak and dereference after NULL.Pedro F. Giffuni2015-01-271-0/+2
* sed: Address warnings with clang and gcc48.Pedro F. Giffuni2015-01-081-3/+3
* sed(1): Don't force a newline on last line, if input stream doesn't have oneJean-Sébastien Pédron2014-08-081-5/+45
* More sed(1) usage fixing: the extension -i is not optional.Pedro F. Giffuni2014-07-031-1/+1
* Fix sed(1) usage: the extension -i is not an optional.Pedro F. Giffuni2014-07-021-1/+1
* Drop ifdef nonsense: just use setvbuf(3).Pedro F. Giffuni2014-06-211-9/+3
* Add -u (unbuffered output) after GNU sed.Pedro F. Giffuni2014-06-201-4/+15
* sed: use getline() instead of fgetln().Pedro F. Giffuni2013-06-261-8/+11
* sed: Try hard links to make -i target available continually.Jilles Tjoelker2011-01-081-4/+21
* Make -r mean exactly the same thing as -E for increased compatibilityWarner Losh2010-03-311-1/+2
* Revert most part of 200420 as requested, as more review and polish isXin LI2009-12-131-0/+2
* Remove unneeded header includes from usr.bin/ except contributed code.Xin LI2009-12-111-2/+0
* WARNS fixes:David Malone2008-02-091-1/+1
* Fix visibility of "inplace".Diomidis Spinellis2007-11-081-1/+1
* Don't forget to clear out the hold space for each subsequent fileYaroslav Tykhiy2007-06-121-1/+1
* Change the semantics of -i (in-place editing) so that it treatsYaroslav Tykhiy2007-04-211-4/+16
* The function inplace_edit() doesn't exist anymore, remove the prototype.Stefan Farfeleder2005-09-241-1/+0
* Add option -l, to make output line buffered.Gleb Smirnoff2005-05-101-3/+7
* Include missing headers.Stefan Farfeleder2005-02-091-0/+1
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derivedDiomidis Spinellis2004-08-091-4/+0
* Make the 'y' (translate) command aware of multibyte characters.Tim J. Robbins2004-07-141-0/+1
* Plug a file descriptor leak.Brian Somers2004-06-031-7/+13
* Fix the case where the file is not in the current directory.Dag-Erling Smørgrav2003-11-041-1/+2
* Reimplement in-place editing in a slightly less disgusting manner. Also,Dag-Erling Smørgrav2003-11-041-71/+61
* ANSIfyDag-Erling Smørgrav2003-11-041-18/+7
* Correct style bugs in the in-place editing code.Dag-Erling Smørgrav2003-11-041-2/+2
* Fix some bugs in in-place editing:Tony Finch2002-07-301-28/+26
* Avoid checking whether each line is the last line of the file when we don'tTim J. Robbins2002-07-031-23/+27
* Don't store newlines at the end of each line in the hold/pattern spaces,Tim J. Robbins2002-06-221-0/+2
* Correct the handling of (for example) the N command by only zeroing theTim J. Robbins2002-06-161-1/+2
* Exit with non-zero status if an input file can not be opened. This wasTim J. Robbins2002-06-141-0/+1
* Fix one serious bug and one potential problem with in-place editing code:Maxim Sobolev2002-06-141-70/+60
* If a file argument cannot be processed, process the remaining onesTim J. Robbins2002-05-241-6/+14
* o Clean up tmp file usage a little by using mkstemp(3) instead ofBrian Feldman2002-05-141-5/+6