imp
7e6cabd06e
Renumber copyright clause 4
...
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
2017-02-28 23:42:47 +00:00
pfg
3d433e3de9
sed.1: Correction for the case insensitive case.
...
Use the capital I instead of the lowercase.
Submitted by: Mikhail T.
PR: 195929
MFC after: 2 weeks
2016-05-10 17:01:51 +00:00
bapt
1f77f137dc
use .Mt to mark up email addresses consistently (part3)
...
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
2014-06-23 08:23:05 +00:00
pfg
49152e1559
Add -u (unbuffered output) after GNU sed.
...
Obtained from: NetBSD
MFC after: 1 week
2014-06-20 21:41:30 +00:00
eadler
3fc4115992
Per the resolution of POSIX bug 0000779 (note 0002050) add support for using 'i'
...
as a case insensitive flag.
PR: standards/184641
Requested by: David A. Wheeler <dwheeler@dwheeler.com>
MFC After: 1 week
2013-12-09 18:57:20 +00:00
eadler
1ef5fe44d3
Remove trailing whitespace per mdoc lint warning
...
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
2012-03-29 05:02:12 +00:00
ache
1a131a903e
Reword '}' description to sound more clear.
...
Submitted by: dougb
MFC after: 7 days
2011-10-29 06:13:47 +00:00
ache
a71751c33e
Update '}' description to reflect reality (and POSIX)
...
PR: 96236
Submitted by: "Andreas Kohn" <andreas@syndrom23.de>
MFC after: 7 days
2011-10-28 20:28:13 +00:00
imp
fd75fb8417
Make -r mean exactly the same thing as -E for increased compatibility
...
with GNU sed.
MFC after: 7 days
2010-03-31 17:40:13 +00:00
brian
224d86596e
Bump the document date to reflect the recent address range enhancements.
...
Suggested by: throdes
2009-05-25 21:29:06 +00:00
brian
d2e1d02aee
Implement "addr1,+N" ranges - not dissimilar to grep's -A switch.
...
PR: 134856
Submitted by: Jeremie Le Hen - jeremie at le-hen dot org
2009-05-25 06:45:33 +00:00
yar
f379ac81c2
Correct a silly typo I introduced: withing -> within.
...
Noticed by: das
2008-09-01 17:48:40 +00:00
yar
97a6c454a4
Explicitly tell that one needs to start a context address with a
...
backslash if he/she wants to use a non-traditional delimiter, i.e.,
anything other than a slash. That is, /abc/ works as is, but xabcx
needs to be spelled as \xabcx.
Add appropriate markup.
Bump Dd.
Checked with: IEEE Std 1003.1, 2004 Edition
MFC after: 3 days
2008-08-24 13:47:53 +00:00
ssouhlal
e75185f7f5
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
yar
802e70c6ff
Don't forget to bump document date after changing the content.
2007-04-21 01:22:51 +00:00
yar
65b331b4a1
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
ru
19aa3916e2
Markup and wording fixes.
...
Approved by: re (blanket)
2005-06-14 11:50:53 +00:00
glebius
7db34cfe43
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
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
6cc4b6c220
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
ru
169f1013f0
Scheduled mdoc(7) sweep.
2005-01-11 10:32:52 +00:00
dds
145dad6e9d
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
tjr
096572d313
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
tjr
38fd4ed96d
Document the -E and -a options as being extensions.
2004-07-14 10:37:21 +00:00
tjr
b7543693c8
Update BUGS section to reflect current state of multibyte character support.
2004-07-14 10:33:29 +00:00
tjr
c9e47db057
Document missing multibyte character support in utilities specified
...
by POSIX.
2004-07-03 01:28:21 +00:00
ru
fb1d8b3724
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
ru
4b39413aeb
Removed trailing whitespace.
2004-07-02 19:07:33 +00:00
charnier
dd64cc85d6
Avoid using .Nm at the start of the sentence.
2004-01-04 15:33:06 +00:00
dds
4fc5a31189
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
ru
b67068895d
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 17:33:37 +00:00
tjr
4922dd1ddf
Sort sections, and refer to sed as a utility, not a function.
2002-06-25 08:36:19 +00:00
tjr
de5809df72
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
tjr
f8ee1d2d03
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
tjr
b72fd54413
Newlines are not escaped anymore.
2002-06-10 07:27:32 +00:00
tjr
096096d1a2
Document the fact that the `l' command uses the COLUMNS environment
...
variable (SUSv3)
2002-06-04 10:01:06 +00:00
ru
d654861f5c
mdoc(7) police: typo in .Dd.
2002-05-30 06:05:42 +00:00
jmallett
9514d77a48
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
jmallett
d3d2092758
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
keramida
f4dad30bfd
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
ru
bde8ec1b70
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
ru
4345758876
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
ru
b5cd63f616
mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.
2001-02-13 09:56:35 +00:00
ru
ffef081534
Prepare for mdoc(7)NG.
2001-01-16 09:39:23 +00:00
ru
e6cfc0711d
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
ru
a6f5d950d8
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
charnier
42d5955dc9
Add DIAGNOSTICS section name
2000-03-26 15:06:46 +00:00
green
5802589ba8
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
green
f556f75f09
Add a new flag: -E enables "extended" regular expressions.
2000-03-19 19:41:53 +00:00