From 2b07c041cb218eca6e548bac9c4347f8a90c474c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 17 Sep 2024 05:51:28 +0200 Subject: Adding upstream version 11.74. Signed-off-by: Daniel Baumann --- doc/qsgrep.1.html | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 doc/qsgrep.1.html (limited to 'doc/qsgrep.1.html') diff --git a/doc/qsgrep.1.html b/doc/qsgrep.1.html new file mode 100644 index 0000000..6dd5552 --- /dev/null +++ b/doc/qsgrep.1.html @@ -0,0 +1,67 @@ + + +Man page of QSGREP + + + +

QSGREP

+Section: qsgrep man page (1)
Updated: May 2023
Index +Return to Main Contents
+ +

+  +

NAME

+ +qsgrep - prints matching patterns within a file. +  +

SYNOPSIS

+ +qsgrep -e <pattern> -o <sub string> [<path>] +  +

DESCRIPTION

+ +qsgrep is a simple tool to search patterns within files. It uses regular expressions to find patterns and prints the submatches within a pre-defined format string. +  +

OPTIONS

+ +
+
-e <pattern>
+Specifies the search pattern. +
-o <string>
+Defines the output string where $0-$9 are substituted by the submatches of the regular expression. +
<path>
+Defines the input file to process. qsgrep reads from from standard input if this parameter is omitted. +

+

+  +

EXAMPLE

+ +Shows the IP addresses of clients causing mod_qos(031) messages): +

+
  qsgrep -e 'mod_qos\(031\).*, c=([a-zA-Z0-9:.]*)' -o 'ip=$1' error_log +

+  +

SEE ALSO

+ +qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) +  +

AUTHOR

+ +Pascal Buchbinder, http://mod-qos.sourceforge.net/ +

+ +


+ 

Index

+
+
NAME
+
SYNOPSIS
+
DESCRIPTION
+
OPTIONS
+
EXAMPLE
+
SEE ALSO
+
AUTHOR
+
+
+ + + -- cgit v1.2.3