<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=SED_-_Manpage</id>
	<title>SED - Manpage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=SED_-_Manpage"/>
	<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=SED_-_Manpage&amp;action=history"/>
	<updated>2026-05-02T18:47:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://it-arts.net/index.php?title=SED_-_Manpage&amp;diff=974&amp;oldid=prev</id>
		<title>Admin: Text replacement - &quot;Category:Wiki&quot; to &quot;Category:Wiki

&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;
&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=SED_-_Manpage&amp;diff=974&amp;oldid=prev"/>
		<updated>2026-01-17T08:04:33Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;  &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; &amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:04, 17 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://it-arts.net/index.php?title=SED_-_Manpage&amp;diff=245&amp;oldid=prev</id>
		<title>Admin: Text replacement - &quot;Category:Post-It&quot; to &quot;Category:Wiki&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=SED_-_Manpage&amp;diff=245&amp;oldid=prev"/>
		<updated>2025-12-08T15:33:37Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&lt;a href=&quot;/index.php?title=Category:Post-It&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Post-It (page does not exist)&quot;&gt;Category:Post-It&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:33, 8 December 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Post-It&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wiki&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://it-arts.net/index.php?title=SED_-_Manpage&amp;diff=84&amp;oldid=prev</id>
		<title>Admin at 19:04, 8 June 2024</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=SED_-_Manpage&amp;diff=84&amp;oldid=prev"/>
		<updated>2024-06-08T19:04:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Post-It]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== sed --help ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...&lt;br /&gt;
&lt;br /&gt;
  -n, --quiet, --silent&lt;br /&gt;
                 suppress automatic printing of pattern space&lt;br /&gt;
      --debug&lt;br /&gt;
                 annotate program execution&lt;br /&gt;
  -e script, --expression=script&lt;br /&gt;
                 add the script to the commands to be executed&lt;br /&gt;
  -f script-file, --file=script-file&lt;br /&gt;
                 add the contents of script-file to the commands to be executed&lt;br /&gt;
  --follow-symlinks&lt;br /&gt;
                 follow symlinks when processing in place&lt;br /&gt;
  -i[SUFFIX], --in-place[=SUFFIX]&lt;br /&gt;
                 edit files in place (makes backup if SUFFIX supplied)&lt;br /&gt;
  -l N, --line-length=N&lt;br /&gt;
                 specify the desired line-wrap length for the `l&amp;#039; command&lt;br /&gt;
  --posix&lt;br /&gt;
                 disable all GNU extensions.&lt;br /&gt;
  -E, -r, --regexp-extended&lt;br /&gt;
                 use extended regular expressions in the script&lt;br /&gt;
                 (for portability use POSIX -E).&lt;br /&gt;
  -s, --separate&lt;br /&gt;
                 consider files as separate rather than as a single,&lt;br /&gt;
                 continuous long stream.&lt;br /&gt;
      --sandbox&lt;br /&gt;
                 operate in sandbox mode (disable e/r/w commands).&lt;br /&gt;
  -u, --unbuffered&lt;br /&gt;
                 load minimal amounts of data from the input files and flush&lt;br /&gt;
                 the output buffers more often&lt;br /&gt;
  -z, --null-data&lt;br /&gt;
                 separate lines by NUL characters&lt;br /&gt;
      --help     display this help and exit&lt;br /&gt;
      --version  output version information and exit&lt;br /&gt;
&lt;br /&gt;
If no -e, --expression, -f, or --file option is given, then the first&lt;br /&gt;
non-option argument is taken as the sed script to interpret.  All&lt;br /&gt;
remaining arguments are names of input files; if no input files are&lt;br /&gt;
specified, then the standard input is read.&lt;br /&gt;
&lt;br /&gt;
GNU sed home page: &amp;lt;https://www.gnu.org/software/sed/&amp;gt;.&lt;br /&gt;
General help using GNU software: &amp;lt;https://www.gnu.org/gethelp/&amp;gt;.&lt;br /&gt;
E-mail bug reports to: &amp;lt;bug-sed@gnu.org&amp;gt;.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manpage ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
SED(1)                                                                                          User Commands                                                                                          SED(1)&lt;br /&gt;
&lt;br /&gt;
NAME&lt;br /&gt;
       sed - stream editor for filtering and transforming text&lt;br /&gt;
&lt;br /&gt;
SYNOPSIS&lt;br /&gt;
       sed [-V] [--version] [--help] [-n] [--quiet] [--silent]&lt;br /&gt;
           [-l N] [--line-length=N] [-u] [--unbuffered]&lt;br /&gt;
           [-E] [-r] [--regexp-extended]&lt;br /&gt;
           [-e script] [--expression=script]&lt;br /&gt;
           [-f script-file] [--file=script-file]&lt;br /&gt;
           [script-if-no-other-script]&lt;br /&gt;
           [file...]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION&lt;br /&gt;
       Sed  is  a  stream editor.  A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline).  While in some ways similar to an editor which permits&lt;br /&gt;
       scripted edits (such as ed), sed works by making only one pass over the input(s), and is consequently more efficient.  But it is sed&amp;#039;s ability to filter text in a pipeline which particularly distin‐&lt;br /&gt;
       guishes it from other types of editors.&lt;br /&gt;
&lt;br /&gt;
       -n, --quiet, --silent&lt;br /&gt;
&lt;br /&gt;
              suppress automatic printing of pattern space&lt;br /&gt;
&lt;br /&gt;
       --debug&lt;br /&gt;
&lt;br /&gt;
              annotate program execution&lt;br /&gt;
&lt;br /&gt;
       -e script, --expression=script&lt;br /&gt;
&lt;br /&gt;
              add the script to the commands to be executed&lt;br /&gt;
&lt;br /&gt;
       -f script-file, --file=script-file&lt;br /&gt;
&lt;br /&gt;
              add the contents of script-file to the commands to be executed&lt;br /&gt;
&lt;br /&gt;
       --follow-symlinks&lt;br /&gt;
&lt;br /&gt;
              follow symlinks when processing in place&lt;br /&gt;
&lt;br /&gt;
       -i[SUFFIX], --in-place[=SUFFIX]&lt;br /&gt;
&lt;br /&gt;
              edit files in place (makes backup if SUFFIX supplied)&lt;br /&gt;
&lt;br /&gt;
       -l N, --line-length=N&lt;br /&gt;
&lt;br /&gt;
              specify the desired line-wrap length for the `l&amp;#039; command&lt;br /&gt;
&lt;br /&gt;
       --posix&lt;br /&gt;
&lt;br /&gt;
              disable all GNU extensions.&lt;br /&gt;
&lt;br /&gt;
       -E, -r, --regexp-extended&lt;br /&gt;
&lt;br /&gt;
              use extended regular expressions in the script (for portability use POSIX -E).&lt;br /&gt;
&lt;br /&gt;
       -s, --separate&lt;br /&gt;
&lt;br /&gt;
              consider files as separate rather than as a single, continuous long stream.&lt;br /&gt;
&lt;br /&gt;
       --sandbox&lt;br /&gt;
&lt;br /&gt;
              operate in sandbox mode (disable e/r/w commands).&lt;br /&gt;
&lt;br /&gt;
       -u, --unbuffered&lt;br /&gt;
&lt;br /&gt;
              load minimal amounts of data from the input files and flush the output buffers more often&lt;br /&gt;
&lt;br /&gt;
       -z, --null-data&lt;br /&gt;
&lt;br /&gt;
              separate lines by NUL characters&lt;br /&gt;
&lt;br /&gt;
       --help&lt;br /&gt;
              display this help and exit&lt;br /&gt;
&lt;br /&gt;
       --version&lt;br /&gt;
              output version information and exit&lt;br /&gt;
&lt;br /&gt;
       If  no  -e,  --expression,  -f,  or --file option is given, then the first non-option argument is taken as the sed script to interpret.  All remaining arguments are names of input files; if no input&lt;br /&gt;
       files are specified, then the standard input is read.&lt;br /&gt;
&lt;br /&gt;
       GNU sed home page: &amp;lt;https://www.gnu.org/software/sed/&amp;gt;.  General help using GNU software: &amp;lt;https://www.gnu.org/gethelp/&amp;gt;.  E-mail bug reports to: &amp;lt;bug-sed@gnu.org&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
       Packaged by Debian Copyright © 2022 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later &amp;lt;https://gnu.org/licenses/gpl.html&amp;gt;.  This is free software: you are free to change and&lt;br /&gt;
       redistribute it.  There is NO WARRANTY, to the extent permitted by law.&lt;br /&gt;
&lt;br /&gt;
COMMAND SYNOPSIS&lt;br /&gt;
       This is just a brief synopsis of sed commands to serve as a reminder to those who already know sed; other documentation (such as the texinfo document) must be consulted for fuller descriptions.&lt;br /&gt;
&lt;br /&gt;
   Zero-address ``commands&amp;#039;&amp;#039;&lt;br /&gt;
       : label&lt;br /&gt;
              Label for b and t commands.&lt;br /&gt;
&lt;br /&gt;
       #comment&lt;br /&gt;
              The comment extends until the next newline (or the end of a -e script fragment).&lt;br /&gt;
&lt;br /&gt;
       }      The closing bracket of a { } block.&lt;br /&gt;
&lt;br /&gt;
   Zero- or One- address commands&lt;br /&gt;
       =      Print the current line number.&lt;br /&gt;
&lt;br /&gt;
       a \&lt;br /&gt;
&lt;br /&gt;
       text   Append text, which has each embedded newline preceded by a backslash.&lt;br /&gt;
&lt;br /&gt;
       i \&lt;br /&gt;
&lt;br /&gt;
       text   Insert text, which has each embedded newline preceded by a backslash.&lt;br /&gt;
&lt;br /&gt;
       q [exit-code]&lt;br /&gt;
              Immediately quit the sed script without processing any more input, except that if auto-print is not disabled the current pattern space will be printed.  The exit code argument is a GNU exten‐&lt;br /&gt;
              sion.&lt;br /&gt;
&lt;br /&gt;
       Q [exit-code]&lt;br /&gt;
              Immediately quit the sed script without processing any more input.  This is a GNU extension.&lt;br /&gt;
&lt;br /&gt;
       r filename&lt;br /&gt;
              Append text read from filename.&lt;br /&gt;
&lt;br /&gt;
       R filename&lt;br /&gt;
              Append a line read from filename.  Each invocation of the command reads a line from the file.  This is a GNU extension.&lt;br /&gt;
&lt;br /&gt;
   Commands which accept address ranges&lt;br /&gt;
       {      Begin a block of commands (end with a }).&lt;br /&gt;
&lt;br /&gt;
       b label&lt;br /&gt;
              Branch to label; if label is omitted, branch to end of script.&lt;br /&gt;
&lt;br /&gt;
       c \&lt;br /&gt;
&lt;br /&gt;
       text   Replace the selected lines with text, which has each embedded newline preceded by a backslash.&lt;br /&gt;
&lt;br /&gt;
       d      Delete pattern space.  Start next cycle.&lt;br /&gt;
&lt;br /&gt;
       D      If pattern space contains no newline, start a normal new cycle as if the d command was issued.  Otherwise, delete text in the pattern space up to the first newline, and restart cycle with the&lt;br /&gt;
              resultant pattern space, without reading a new line of input.&lt;br /&gt;
&lt;br /&gt;
       h H    Copy/append pattern space to hold space.&lt;br /&gt;
&lt;br /&gt;
       g G    Copy/append hold space to pattern space.&lt;br /&gt;
&lt;br /&gt;
       l      List out the current line in a ``visually unambiguous&amp;#039;&amp;#039; form.&lt;br /&gt;
&lt;br /&gt;
       l width&lt;br /&gt;
              List out the current line in a ``visually unambiguous&amp;#039;&amp;#039; form, breaking it at width characters.  This is a GNU extension.&lt;br /&gt;
&lt;br /&gt;
       n N    Read/append the next line of input into the pattern space.&lt;br /&gt;
&lt;br /&gt;
       p      Print the current pattern space.&lt;br /&gt;
&lt;br /&gt;
       P      Print up to the first embedded newline of the current pattern space.&lt;br /&gt;
&lt;br /&gt;
       s/regexp/replacement/&lt;br /&gt;
              Attempt to match regexp against the pattern space.  If successful, replace that portion matched with replacement.  The replacement may contain the special character &amp;amp; to refer to that portion&lt;br /&gt;
              of the pattern space which matched, and the special escapes \1 through \9 to refer to the corresponding matching sub-expressions in the regexp.&lt;br /&gt;
&lt;br /&gt;
       t label&lt;br /&gt;
              If a s/// has done a successful substitution since the last input line was read and since the last t or T command, then branch to label; if label is omitted, branch to end of script.&lt;br /&gt;
&lt;br /&gt;
       T label&lt;br /&gt;
              If no s/// has done a successful substitution since the last input line was read and since the last t or T command, then branch to label; if label is omitted, branch to end of  script.   This&lt;br /&gt;
              is a GNU extension.&lt;br /&gt;
&lt;br /&gt;
       w filename&lt;br /&gt;
              Write the current pattern space to filename.&lt;br /&gt;
&lt;br /&gt;
       W filename&lt;br /&gt;
              Write the first line of the current pattern space to filename.  This is a GNU extension.&lt;br /&gt;
&lt;br /&gt;
       x      Exchange the contents of the hold and pattern spaces.&lt;br /&gt;
&lt;br /&gt;
       y/source/dest/&lt;br /&gt;
              Transliterate the characters in the pattern space which appear in source to the corresponding character in dest.&lt;br /&gt;
&lt;br /&gt;
Addresses&lt;br /&gt;
       Sed  commands  can be given with no addresses, in which case the command will be executed for all input lines; with one address, in which case the command will only be executed for input lines which&lt;br /&gt;
       match that address; or with two addresses, in which case the command will be executed for all input lines which match the inclusive range of lines starting from the first address and  continuing  to&lt;br /&gt;
       the  second  address.  Three things to note about address ranges: the syntax is addr1,addr2 (i.e., the addresses are separated by a comma); the line which addr1 matched will always be accepted, even&lt;br /&gt;
       if addr2 selects an earlier line; and if addr2 is a regexp, it will not be tested against the line that addr1 matched.&lt;br /&gt;
&lt;br /&gt;
       After the address (or address-range), and before the command, a !  may be inserted, which specifies that the command shall only be executed if the address (or address-range) does not match.&lt;br /&gt;
&lt;br /&gt;
       The following address types are supported:&lt;br /&gt;
&lt;br /&gt;
       number Match only the specified line number (which increments cumulatively across files, unless the -s option is specified on the command line).&lt;br /&gt;
&lt;br /&gt;
       first~step&lt;br /&gt;
              Match every step&amp;#039;th line starting with line first.  For example, ``sed -n 1~2p&amp;#039;&amp;#039; will print all the odd-numbered lines in the input stream, and the address 2~5 will match  every  fifth  line,&lt;br /&gt;
              starting with the second.  first can be zero; in this case, sed operates as if it were equal to step.  (This is an extension.)&lt;br /&gt;
&lt;br /&gt;
       $      Match the last line.&lt;br /&gt;
&lt;br /&gt;
       /regexp/&lt;br /&gt;
              Match lines matching the regular expression regexp.  Matching is performed on the current pattern space, which can be modified with commands such as ``s///&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
       \cregexpc&lt;br /&gt;
              Match lines matching the regular expression regexp.  The c may be any character.&lt;br /&gt;
&lt;br /&gt;
       GNU sed also supports some special 2-address forms:&lt;br /&gt;
&lt;br /&gt;
       0,addr2&lt;br /&gt;
              Start out in &amp;quot;matched first address&amp;quot; state, until addr2 is found.  This is similar to 1,addr2, except that if addr2 matches the very first line of input the 0,addr2 form will be at the end of&lt;br /&gt;
              its range, whereas the 1,addr2 form will still be at the beginning of its range.  This works only when addr2 is a regular expression.&lt;br /&gt;
&lt;br /&gt;
       addr1,+N&lt;br /&gt;
              Will match addr1 and the N lines following addr1.&lt;br /&gt;
&lt;br /&gt;
       addr1,~N&lt;br /&gt;
              Will match addr1 and the lines following addr1 until the next line whose input line number is a multiple of N.&lt;br /&gt;
&lt;br /&gt;
REGULAR EXPRESSIONS&lt;br /&gt;
       POSIX.2 BREs should be supported, but they aren&amp;#039;t completely because of performance problems.  The \n sequence in a regular expression matches the newline character, and similarly for  \a,  \t,  and&lt;br /&gt;
       other sequences.  The -E option switches to using extended regular expressions instead; it has been supported for years by GNU sed, and is now included in POSIX.&lt;br /&gt;
&lt;br /&gt;
BUGS&lt;br /&gt;
       E-mail bug reports to bug-sed@gnu.org.  Also, please include the output of ``sed --version&amp;#039;&amp;#039; in the body of your report if at all possible.&lt;br /&gt;
&lt;br /&gt;
AUTHOR&lt;br /&gt;
       Written by Jay Fenlason, Tom Lord, Ken Pizzini, Paolo Bonzini, Jim Meyering, and Assaf Gordon.&lt;br /&gt;
&lt;br /&gt;
       This sed program was built with SELinux support.  SELinux is disabled on this system.&lt;br /&gt;
&lt;br /&gt;
       GNU sed home page: &amp;lt;https://www.gnu.org/software/sed/&amp;gt;.  General help using GNU software: &amp;lt;https://www.gnu.org/gethelp/&amp;gt;.  E-mail bug reports to: &amp;lt;bug-sed@gnu.org&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO&lt;br /&gt;
       awk(1), ed(1), grep(1), tr(1), perlre(1), sed.info, any of various books on sed, the sed FAQ (http://sed.sf.net/grabbag/tutorials/sedfaq.txt), http://sed.sf.net/grabbag/.&lt;br /&gt;
&lt;br /&gt;
       The full documentation for sed is maintained as a Texinfo manual.  If the info and sed programs are properly installed at your site, the command&lt;br /&gt;
&lt;br /&gt;
              info sed&lt;br /&gt;
&lt;br /&gt;
       should give you access to the complete manual.&lt;br /&gt;
&lt;br /&gt;
GNU sed 4.9                                                                                      January 2023                                                                                          SED(1)&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>