version 1.24, 2006/10/24 11:46:53 |
version 1.25, 2006/10/26 20:19:12 |
|
|
.Pp |
.Pp |
A single command may be specified as the first argument to |
A single command may be specified as the first argument to |
.Nm sed . |
.Nm sed . |
Multiple commands may be specified by using the |
Multiple commands may be specified |
|
separated by newlines or semicolons, |
|
or by using the |
.Fl e |
.Fl e |
or |
or |
.Fl f |
.Fl f |
|
|
.Sh STANDARDS |
.Sh STANDARDS |
The |
The |
.Nm |
.Nm |
function is expected to be a superset of the |
utility is compliant with the |
.St -p1003.2 |
.St -p1003.1-2004 |
specification. |
specification. |
|
.Pp |
|
The flag |
|
.Op Fl a |
|
is an extension to the specification. |
|
.Pp |
|
The use of newlines to separate multiple commands on the command line |
|
is non-portable; |
|
the use of newlines to separate multiple commands within a command file |
|
.Pq Fl f Ar command_file |
|
is portable. |
.Sh HISTORY |
.Sh HISTORY |
A |
A |
.Nm |
.Nm |
command appeared in |
command appeared in |
.At v7 . |
.At v7 . |
|
.Sh CAVEATS |
|
The use of semicolons to separate multiple commands |
|
is not permitted for the following commands: |
|
.Cm a , b , c , |
|
.Cm i , r , t , |
|
.Cm w , \&: , |
|
and |
|
.Cm # . |