Suleiman Souhlal
bdd72b703b
Add case-insensitive matching to sed, using the 'I' flag, similarly to GNU sed.
...
For example,
sed /foo/Id
sed s/foo/bar/Ig
Reviewed by: dds
Approved by: re (hrs)
2007-07-04 16:42:41 +00:00
Yaroslav Tykhiy
70b36fc0c8
Don't forget to bump document date after changing the content.
2007-04-21 01:22:51 +00:00
Yaroslav Tykhiy
f6703c9c0a
Change the semantics of -i (in-place editing) so that it treats
...
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
2007-04-21 01:21:36 +00:00
Ruslan Ermilov
39c59153e9
Markup and wording fixes.
...
Approved by: re (blanket)
2005-06-14 11:50:53 +00:00
Gleb Smirnoff
1ed86f6c90
Add option -l, to make output line buffered.
...
PR: bin/78692
Submitted by: Eugene Grosbein
MFC after: 2 weeks
2005-05-10 13:40:50 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
a866e17077
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
Ruslan Ermilov
4438d91ea2
Scheduled mdoc(7) sweep.
2005-01-11 10:32:52 +00:00
Diomidis Spinellis
30fd73fb81
Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived
...
software (original contributor).
Reviewed by: imp
2004-08-09 15:29:41 +00:00
Tim J. Robbins
e4d0177f50
Document the limitation that multibyte characters cannot be used as
...
delimiters with the 's' and 'y' commands.
2004-07-17 03:37:31 +00:00
Tim J. Robbins
220d8b581a
Document the -E and -a options as being extensions.
2004-07-14 10:37:21 +00:00
Tim J. Robbins
8b086367a0
Update BUGS section to reflect current state of multibyte character support.
2004-07-14 10:33:29 +00:00
Tim J. Robbins
4f45d81178
Document missing multibyte character support in utilities specified
...
by POSIX.
2004-07-03 01:28:21 +00:00
Ruslan Ermilov
6a3e8b0adc
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
Ruslan Ermilov
d37ea99837
Removed trailing whitespace.
2004-07-02 19:07:33 +00:00
Philippe Charnier
ca802a8abe
Avoid using .Nm at the start of the sentence.
2004-01-04 15:33:06 +00:00
Diomidis Spinellis
b6059c5c01
Fixed .Nm element, updated HISTORY section, added AUTHORS section.
...
Reviewed by: schweikh (mentor)
MFC after: 2 weeks
2003-07-22 19:23:45 +00:00
Ruslan Ermilov
06e482e60a
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 17:33:37 +00:00
Tim J. Robbins
42676968c6
Sort sections, and refer to sed as a utility, not a function.
2002-06-25 08:36:19 +00:00
Tim J. Robbins
e7cc3a2191
Refer to environ(7) for description of COLUMNS instead of describing it
...
in-line. Document effects of locale environment variables in the same way.
2002-06-10 07:55:13 +00:00
Tim J. Robbins
1fa600e8fe
The 10 occurrence limit for the `s' command documented here has not existed
...
for a very long time (or never did exist).
2002-06-10 07:44:04 +00:00
Tim J. Robbins
2ef53777fd
Newlines are not escaped anymore.
2002-06-10 07:27:32 +00:00
Tim J. Robbins
30e9580eca
Document the fact that the `l' command uses the COLUMNS environment
...
variable (SUSv3)
2002-06-04 10:01:06 +00:00
Ruslan Ermilov
cec2dd9f32
mdoc(7) police: typo in .Dd.
2002-05-30 06:05:42 +00:00
Juli Mallett
5d16412db7
Add handling for any nil-length string passed to -i for the backup extension.
...
Add a note that this is kinda-sorta dangerous to the manual page.
2002-05-07 23:32:26 +00:00
Juli Mallett
839af0c103
Add a -i option to sed(1) to do inplace editing, to give us an alternative to
...
Perl for such things. The key difference to Perl is that a backup extension
*MUST* be specified, because on one hand it isn't recommended to have options
which optionally take a parameter, and on the other hand, it'd be slightly
unpleasent to implement proper handling for that.
The difference between this and the version posted to developers@ is that it
does handle multiple files in argv after the getopt(3) handling "correctly",
in that the inplace editing-specific code has been moved out to a function,
and that function is used beyond the first file in our linked list.
This option has been documented as FreeBSD-specific in the manpage.
Reviewed by: developers@ (got feedback from: des, fanf, sobomax, roberto,
obrien)
MFC after: 1 week
2002-05-07 18:32:18 +00:00
Giorgos Keramidas
2642bed24b
Remove duplicated text.
...
PR: docs/37287
Submitted by: Tony Finch <dot@dotat.at>
MFC after: 3 days
2002-04-21 14:48:47 +00:00
Ruslan Ermilov
d628d776c4
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
Ruslan Ermilov
c4d9468ea0
mdoc(7) police:
...
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.
2001-08-07 15:48:51 +00:00
Ruslan Ermilov
47dec78170
mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.
2001-02-13 09:56:35 +00:00
Ruslan Ermilov
1bfea903ed
Prepare for mdoc(7)NG.
2001-01-16 09:39:23 +00:00
Ruslan Ermilov
9b88faecd3
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
Ruslan Ermilov
8fe908ef0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Philippe Charnier
dbb9d8f826
Add DIAGNOSTICS section name
2000-03-26 15:06:46 +00:00
Brian Feldman
0ef1d1f59c
Fix a couple hard sentence breaks I inadvertently introduced. Also,
...
update a bit of English into something easier to read.
Prompted by: sheldonh (thanks!)
2000-03-20 16:21:53 +00:00
Brian Feldman
175de1e677
Add a new flag: -E enables "extended" regular expressions.
2000-03-19 19:41:53 +00:00
Bill Swingle
1d2ed2f751
PR: 10850
...
Submitted by: Scott Hazen Mueller <scott@zorch.sf-bay.org>
2000-02-15 03:00:47 +00:00
Steve Price
9edc38efd7
Escape the ':' so that is actually makes it into the double quotes.
...
PR: 15775
Submitted by: Martin Kammerhofer <mkamm@gmx.net>
1999-12-29 22:22:32 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Nik Clayton
3be5f1f5ce
Add $Id$, to make it simpler for members of the translation teams to
...
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
1999-07-12 20:24:20 +00:00
Philippe Charnier
73a08bb2ad
Remove local redefinition for err(). Add usage().
1997-08-11 07:21:08 +00:00
Steve Price
681e5e7a09
Show the real revision date and not the date that this
...
manpage is being viewed.
1997-06-23 04:03:49 +00:00
Mike Pritchard
07847cc81d
Add a missing '\' to some text.
...
Obtained from: NetBSD-bugs mailing list PR# 3321
1997-03-12 16:05:41 +00:00
Andreas Schulz
53daef245b
Submitted by: Philippe Charnier
...
Fixed a little typo: lable -> label.
1994-12-01 22:19:02 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00