QSGREP(1) - phpMan

Command: man perldoc info search(apropos)  


QSGREP(1)                                qsgrep man page                                QSGREP(1)

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>
              Specifes the search pattern.

       -o <string>
              Defines the output string where $0-$9 are substituted by the submatches of the reg-
              ular 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/

mod_qos utilities 11.63                      May 2019                                   QSGREP(1)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-26 05:27 @3.133.126.241 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!