From f0b83f77d3c32ff2d0201be04bc07f2032598b82 Mon Sep 17 00:00:00 2001
From: Chris Pepper
-mod_sed is an in-process content filter. The mod_sed filter implements the sed edit
-commands implemented by the Solaris 10 sed
-program as described in the man
-page. However, unlike sed, mod_sed doesn't take data from
+
-The mod_sed output filter accepts a chunk of data, executes the sed scripts on the data, and generates the output which is passed to next filter in the filter chain.
+The
-The mod_sed input filter reads the data from the next filter in filter chain, executes the sed scripts, and returns the generated data to the caller filter in the filter chain.
+The
-Both the input and output filter only process the data if new line characters are seen in the content. At the end of the data, the rest of the data is treated as the last line.
+Both the input and output filters only process the data if newline characters are seen in the content. At the end of the data, the rest of the data is treated as the last line.
A tutorial article on mod_sed, and why it is more powerful than simple
+ A tutorial article on sed
syntaxsed
editing
+commands implemented by the Solaris 10 sed
+program as described in the manual
+page. However, unlike sed
, sed
scripts on the data, and generates the output which is passed to the next filter in the chain.
sed
scripts, and returns the generated data to the caller filter in the filter chain.
- Complete details of the sed command can be found from the
- sed man
+ Complete details of the sed
command can be found from the
+ sed manual
page.
b
h
H
g
G
x
The
The sed
+ command to execute on the response.
POST
data)The
The sed
command
+ to execute on the request data e.g., POST
data.