From 851ca8da9d72fbc438420eab4a7de4d84fb5bc5d Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 23 Jan 2024 02:37:29 +0100 Subject: Fix typos --- README.md | 2 +- man/grab.1 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2f652d0..08cd7b8 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ $ ./make --no-pcre ## Description -Grab invokations must include a pattern string which specifies which text +Grab invocations must include a pattern string which specifies which text to match. A pattern string consists of one or more commands. A command is an operator followed by a delimiter, a regular expression (regex), and then terminated by the same delimiter. The last delimiter of the last diff --git a/man/grab.1 b/man/grab.1 index a3194e4..7d5ebcc 100644 --- a/man/grab.1 +++ b/man/grab.1 @@ -163,7 +163,7 @@ supports Perl-compatible regular expressions however it is possible to build and install .Nm without support for PCREs. -When build without PCRE support, +When built without PCRE support, POSIX extended-regular-expressions are used instead. .Pp You should always assume that PCRE support is available, @@ -172,7 +172,7 @@ terminates unsuccessfully when using the .Fl U option. .Ss Pattern Syntax -A pattern is a sequences of commands optionally separated by whitespace. +A pattern is a sequence of commands optionally separated by whitespace. A command is an operator followed by a delimiter, a regular expression, and then terminated by the same delimiter. The last command of a pattern need not have a terminating delimiter. @@ -340,7 +340,7 @@ When PCRE support is available and the option is provided, the regular expression .Ql [^a] -will nontheless match the newline character. +will nonetheless match the newline character. When PCRE support is not available and the .Fl n option is provided, -- cgit v1.2.3