summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't forget to clear out the hold space for each subsequent fileyar2007-06-121-1/+1
| | | | | | | | when in -i mode so that each file gets a clean context of its own. Add a regression test for the bug. Tested with: regression tests
* Change the semantics of -i (in-place editing) so that it treatsyar2007-04-211-0/+1
| | | | | | | | | | | | | | | | | each file independently from other files. The new semantics are desired in the most of practical cases, e.g.: delete lines 5-9 from each file. Keep the previous semantics of -i under a new option, -I, which uses a single continuous address space covering all files to edit in-place -- they are too cool to just drop them. Add regression tests for -i and -I. Approved by: dds Compared with: GNU sed Discussed on: -hackers MFC after: 2 weeks
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley deriveddds2004-08-091-4/+0
| | | | | | software (original contributor). Reviewed by: imp
* Reimplement in-place editing in a slightly less disgusting manner. Also,des2003-11-041-1/+2
| | | | | | | make an effort to preserve the ownership and mode of the file we are editing. Sponsored by: Registrar AS
* Make cspace()'s second argument const. Make `escapes' in lputs() const.tjr2002-07-081-1/+1
|
* Avoid checking whether each line is the last line of the file when we don'ttjr2002-07-031-1/+1
| | | | | | | | | need to know. Instead, check when we are trying to match a "$" address. This does not change the way sed processes regular files, but makes it behave more sensibly when used interactively. PR: 40101 MFC after: 2 weeks
* remove __Pimp2002-03-221-7/+7
|
* WARNS=2 partial fix; use NO_WERROR to protect against some hard-to-fix warnings.markm2001-12-121-1/+1
| | | | Use __FBSDID(), kill register keyword.
* Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in itsobrien2001-07-241-2/+0
| | | | implementation.
* Uncorrupt the SCCS id (s/ From: / /).green2000-03-201-2/+2
| | | | | | Put a tab before the comment for "rflags". Submitted by: bde
* Add a new flag: -E enables "extended" regular expressions.green2000-03-191-0/+1
|
* Add $FreeBSD$.green2000-03-191-1/+2
|
* Fix a new bug introduced by the previous bug fixarchie1998-12-081-1/+1
|
* Remove local redefinition for err(). Add usage().charnier1997-08-111-1/+0
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+59
OpenPOWER on IntegriCloud