[UP]


Manual Reference Pages  - match (1)

NAME

match(1f) - find occurrences of a Regular Expression in a file(s). (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Examples
Author
License

SYNOPSIS

match [-v] [-i] -e EXPRESSION [FILES]| --help| --version

DESCRIPTION

Search for Regular Expressions in input files.

       ^   beginning of line
       $   end of line
       []  class of characters. In a class definition
            ^  as the first character, means to negate
            -  if not the first character denotes a range
               of characters
       .   any character
       *   repeat previous character zero or more times
       \   escape next character

OPTIONS

-e EXPRESSION
  Regular expression describing strings to locate in the input file(s)
FILES Names of files to search. Defaults to stdin.
-v veto mode. Show lines NOT matching expression
-i ignore case
--help display this help and exit
--version
  output version information and exit

EXAMPLES

Sample commands

     match ’^[A-Z ][A-Z ]*$’ <file.txt

AUTHOR

John S. Urban

LICENSE

Public Domain


match (1) March 11, 2021
Generated by manServer 1.08 from ef61599e-ab6f-44de-baa6-acb6a065d98d using man macros.