summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* mdoc(7) police:ru2001-08-071-12/+4
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in itsobrien2001-07-245-59/+56
| | | | implementation.
* Don't leak memory when compiling text following the `a', `c' or `i' command.ru2001-05-181-1/+1
| | | | | | | | | Testcase: echo FOO | sed "/FOO/c\\ `jot -b 'aaaa\' 500`" Submitted by: Max Khon <fjoe@newst.net>
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.ru2001-02-131-2/+2
|
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-191-2/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-4/+4
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-36/+33
|
* Small style fix '=' -> ' = 'nsayer2000-05-111-1/+1
|
* Fix compatibility issue in sed. Do so by explicitely adding ansayer2000-05-111-1/+5
| | | | | | newline to the end of any -e argument. PR: bin/18474
* Add DIAGNOSTICS section namecharnier2000-03-261-3/+3
|
* Uncorrupt the SCCS id (s/ From: / /).green2000-03-201-2/+2
| | | | | | Put a tab before the comment for "rflags". Submitted by: bde
* Fix a couple hard sentence breaks I inadvertently introduced. Also,green2000-03-201-7/+9
| | | | | | update a bit of English into something easier to read. Prompted by: sheldonh (thanks!)
* Add a new flag: -E enables "extended" regular expressions.green2000-03-194-8/+21
|
* Add $FreeBSD$.green2000-03-191-1/+2
|
* PR: 10850unfurl2000-02-151-6/+10
| | | | Submitted by: Scott Hazen Mueller <scott@zorch.sf-bay.org>
* Escape the ':' so that is actually makes it into the double quotes.steve1999-12-291-1/+1
| | | | | PR: 15775 Submitted by: Martin Kammerhofer <mkamm@gmx.net>
* $Id$ -> $FreeBSD$peter1999-08-285-5/+5
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* More egcs warning fixes:imp1999-04-251-2/+3
| | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int o #ifdef 0 -> #if 0 Reviewed by: obrien and chuckr
* Fix a new bug introduced by the previous bug fixarchie1998-12-083-10/+23
|
* Fix brokenness compiling "s/pat/subst/" when length of subst is >= 4090 chars.archie1998-12-071-3/+6
| | | | PR: bin/7939
* Compile -Wallarchie1998-12-072-2/+3
|
* Terminate our output string correctly if we've gotbrian1998-09-221-1/+2
| | | | | | | an ``a'' command that has an escaped newline on the last line of the last script that we're processing. This fixes exmh2/scripts/build when /etc/malloc.conf -> AJ
* Make 'y' command 8bit cleanache1998-04-291-2/+2
| | | | PR: 6458
* Remove local redefinition for err(). Add usage().charnier1997-08-117-155/+135
|
* Show the real revision date and not the date that thissteve1997-06-231-1/+1
| | | | manpage is being viewed.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Add a missing '\' to some text.mpp1997-03-121-1/+1
| | | | Obtained from: NetBSD-bugs mailing list PR# 3321
* fix C programmer's bug number 12.2wosch1996-11-171-3/+8
| | | | submitted by: bruce
* Fix the C programmer's bug #1: EOF is of type `int', not `char'.joerg1996-11-171-6/+2
| | | | | | Strong 2.2 candidate. Submitted by: wosch
* Make it at least semi-workedache1996-08-111-2/+2
|
* Localize itache1996-08-113-5/+7
| | | | 8bit cleanup
* Yet^2 another fix for the line continuation bug.bde1996-07-171-5/+5
| | | | | | | | | | | | The fundamental problem with the original code is that it accesses p[-2] which is one before the beginning of the input buffer for empty lines. rev.1.6 just moved the problem from failures when p[-2] happens to be '\\' to failures when it happens to be '\0'. rev.1.5 was confused about the trailing newline and other things. I went back to rev.1.5 and fixed it. The result is the same as Keith Bostic's final version in PR 1356 except it loses more gracefully for excessively long input lines.
* Yet another fix for the line continuation bug in sed. Keith's patchdg1996-06-261-7/+5
| | | | | | introduced a new bug. This fix appears to work correctly. Fixes PR#1350. Submitted by: mark@linus.demon.co.uk (Mark Valentine)
* Fix from Keith Bostic <bostic@bsdi.com> for bug in sed dealing withdg1996-06-191-5/+7
| | | | | | continuation lines. Submitted by: Keith Bostic via Kirk McKusick
* Merge various fixes from NetBSD. This will allow the WordPerfect forjkh1995-08-163-47/+87
| | | | SCO installation to run all the way through (some POSIX fixes).
* Remove trailing whitespace.rgrimes1995-05-302-8/+8
|
* Sed dumps core when linked with some coalescing malloc because itjoerg1995-04-051-0/+2
| | | | | | doesn't initialize malloced structure. Submitted by: vode@hut.fi
* Fix spelling error (scipt -> script).rgrimes1995-02-231-1/+1
| | | | | Submitted by: <jhawk@MIT.EDU> Obtained from: NetBSD-bugs mailling list
* Correct a bug in the P function: according to 7th edition UNIX (tm), thejmz1995-02-061-1/+1
| | | | | | | | | newline must be part of the pattern space i.e. `echo a|sed -e P' must print a a and not aa This is consistent with gnu sed, SunOS, Ultrix (and probably others!)
* Submitted by: Philippe Charnierats1994-12-011-1/+1
| | | | Fixed a little typo: lable -> label.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-2712-0/+3631
OpenPOWER on IntegriCloud