summaryrefslogtreecommitdiff
path: root/usr.bin/sed
AgeCommit message (Collapse)Author
2003-03-13a few more strlcpyTheo de Raadt
2002-07-09make sed r command not bail out. try sed -e "/a/r"Theo de Raadt
vtamara@wimsey.informatik.uni-kl.de, pr 2755
2002-06-11kill err(3) newlines; ok miod@, deraadt@Jason Peel
2002-04-15Fix sed(1) in the case where a last line is specified and hold spaceTodd C. Miller
is not specified, and then the first part of the pattern space is deleted, when there are two or more input lines, as this results in subtraction of one from an unsigned integral value of '0'. That bogus value is used in one case for a loop (that will run far too many times in this case) and a function to search for a value within a specified range of memory, however now the range of memory is obscenely large and a segmentation (or memory) fault will occur. This is fixed by checking for and appropriately handling a nil pattern space as if the specified search in memory failed, as indeed it obviously will with nil pattern space. From Tim J. Robbins by way of FreeBSD
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-06Print commands in a prettier fashion.Aaron Campbell
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-03-11Various cleanups and standardizations.Aaron Campbell
2000-03-10Various cleanups and standardization.Aaron Campbell
2000-03-06Some section re-ordering.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
2000-03-04In Unix land we prefer "whitespace" to "white space" or "white-space". AtAaron Campbell
least, this is the impression I get from looking at a lot of Perl docs.
1999-07-04better use of quotesAaron Campbell
1999-07-02consistent .Dd usage; proper format is: .Dd Month DD, YYYYAaron Campbell
1999-06-06make G newline if hold is emptyTheo de Raadt
1998-12-28use \& block on : in macro; rossTheo de Raadt
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1998-09-24correct sccsid, not like it really mattersTodd C. Miller
1998-09-22Terminate our output string correctly if we've gotbrian
an ``a'' command that has an escaped newline on the last line of the last script that we're processing.
1998-06-23Fix snprintf return value usage.Todd C. Miller
1998-04-30make y command 8 bit clean; Elmar.Bartel@informatik.tu-muenchen.deTheo de Raadt
1998-02-15fix a commentTheo de Raadt
1998-01-21Back out last change. ed and sed should not use extended regular expressions.Todd C. Miller
1998-01-18Support extended (modern) instead of basic (obsolescent)Todd C. Miller
regular expressions. hubert.feyrer@rz.uni-regensburg.de
1997-11-14fix for a line continuation bug, more than a year ald. work by mckusick,Theo de Raadt
bostic, mark@linus.demon.co.uk, davidg, and bde.
1997-09-11extra ()Theo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-05-30for i in `find . -name \*.[123456789] -exec grep '^.Dd ' {} /dev/null \; | \Theo de Raadt
grep '"' | cut -d':' -f1`; do sed -e '/^.Dd /s/"//g' -e '/^.Dd /s/\(^.Dd [A-Za-z]*\) \(.*\)$/\1, \2/' <$i >x cat x > $i done
1997-04-28Use strtoul() not strtol() when assigning to an unsigned long.Todd C. Miller
1997-03-26show a backslash properly; david@mono.orgTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1996-05-21getc/ungetc use an intTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt