summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/sed.1
Commit message (Collapse)AuthorAgeFilesLines
* MFC r316030, r317378: Add some useful examples to the sed man page.brd2017-05-231-1/+31
| | | | | Reviewed by: wblock, bcr Differential Revision: https://reviews.freebsd.org/D9958
* sed.1: Correction for the case insensitive case.pfg2016-05-101-2/+2
| | | | | | | | Use the capital I instead of the lowercase. Submitted by: Mikhail T. PR: 195929 MFC after: 2 weeks
* use .Mt to mark up email addresses consistently (part3)bapt2014-06-231-1/+1
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* Add -u (unbuffered output) after GNU sed.pfg2014-06-201-2/+4
| | | | | Obtained from: NetBSD MFC after: 1 week
* Per the resolution of POSIX bug 0000779 (note 0002050) add support for using 'i'eadler2013-12-091-3/+3
| | | | | | | | as a case insensitive flag. PR: standards/184641 Requested by: David A. Wheeler <dwheeler@dwheeler.com> MFC After: 1 week
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-2/+2
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Reword '}' description to sound more clear.ache2011-10-291-1/+1
| | | | | Submitted by: dougb MFC after: 7 days
* Update '}' description to reflect reality (and POSIX)ache2011-10-281-1/+1
| | | | | | PR: 96236 Submitted by: "Andreas Kohn" <andreas@syndrom23.de> MFC after: 7 days
* Make -r mean exactly the same thing as -E for increased compatibilityimp2010-03-311-2/+6
| | | | | | with GNU sed. MFC after: 7 days
* Bump the document date to reflect the recent address range enhancements.brian2009-05-251-1/+1
| | | | Suggested by: throdes
* Implement "addr1,+N" ranges - not dissimilar to grep's -A switch.brian2009-05-251-1/+7
| | | | | PR: 134856 Submitted by: Jeremie Le Hen - jeremie at le-hen dot org
* Correct a silly typo I introduced: withing -> within.yar2008-09-011-1/+1
| | | | Noticed by: das
* Explicitly tell that one needs to start a context address with ayar2008-08-241-4/+11
| | | | | | | | | | | | | 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
* Add case-insensitive matching to sed, using the 'I' flag, similarly to GNU sed.ssouhlal2007-07-041-2/+10
| | | | | | | | | For example, sed /foo/Id sed s/foo/bar/Ig Reviewed by: dds Approved by: re (hrs)
* Don't forget to bump document date after changing the content.yar2007-04-211-1/+1
|
* Change the semantics of -i (in-place editing) so that it treatsyar2007-04-211-7/+53
| | | | | | | | | | | | | | | | | 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
* Markup and wording fixes.ru2005-06-141-1/+1
| | | | Approved by: re (blanket)
* Add option -l, to make output line buffered.glebius2005-05-101-2/+4
| | | | | | PR: bin/78692 Submitted by: Eugene Grosbein MFC after: 2 weeks
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Scheduled mdoc(7) sweep.ru2005-01-111-5/+3
|
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley deriveddds2004-08-091-4/+0
| | | | | | software (original contributor). Reviewed by: imp
* Document the limitation that multibyte characters cannot be used astjr2004-07-171-1/+6
| | | | delimiters with the 's' and 'y' commands.
* Document the -E and -a options as being extensions.tjr2004-07-141-2/+5
|
* Update BUGS section to reflect current state of multibyte character support.tjr2004-07-141-4/+11
|
* Document missing multibyte character support in utilities specifiedtjr2004-07-031-1/+5
| | | | by POSIX.
* Mechanically kill hard sentence breaks.ru2004-07-021-7/+14
|
* Removed trailing whitespace.ru2004-07-021-1/+1
|
* Avoid using .Nm at the start of the sentence.charnier2004-01-041-3/+2
|
* Fixed .Nm element, updated HISTORY section, added AUTHORS section.dds2003-07-221-2/+6
| | | | | Reviewed by: schweikh (mentor) MFC after: 2 weeks
* mdoc(7) police: markup polishing.ru2002-11-261-6/+3
| | | | Approved by: re
* Sort sections, and refer to sed as a utility, not a function.tjr2002-06-251-6/+6
|
* Refer to environ(7) for description of COLUMNS instead of describing ittjr2002-06-101-10/+9
| | | | in-line. Document effects of locale environment variables in the same way.
* The 10 occurrence limit for the `s' command documented here has not existedtjr2002-06-101-3/+4
| | | | for a very long time (or never did exist).
* Newlines are not escaped anymore.tjr2002-06-101-2/+0
|
* Document the fact that the `l' command uses the COLUMNS environmenttjr2002-06-041-0/+13
| | | | variable (SUSv3)
* mdoc(7) police: typo in .Dd.ru2002-05-301-1/+1
|
* Add handling for any nil-length string passed to -i for the backup extension.jmallett2002-05-071-0/+7
| | | | Add a note that this is kinda-sorta dangerous to the manual page.
* Add a -i option to sed(1) to do inplace editing, to give us an alternative tojmallett2002-05-071-1/+11
| | | | | | | | | | | | | | | | | | 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
* Remove duplicated text.keramida2002-04-211-2/+1
| | | | | | PR: docs/37287 Submitted by: Tony Finch <dot@dotat.at> MFC after: 3 days
* 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.
* 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
|
* Add DIAGNOSTICS section namecharnier2000-03-261-3/+3
|
* 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-191-5/+13
|
OpenPOWER on IntegriCloud