User Commands - 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
| Nemo Release 3.1 | match (1) | June 29, 2025 |
Generated by manServer 1.08 from 40a17206-7771-4b5e-8ec7-865e6a89e3a1 using man macros.