Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ grep.mlx(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ed(1)

grep(1) (MLX Addendum)             (MLX)             grep(1) (MLX Addendum)

NAME
     grep - search a file for a pattern (MLX addendum)

SYNOPSIS
     grep [options] limited regular expression [file ...]

DESCRIPTION
     (International Functions)

     grep can process characters from supplementary code sets, as well as
     ASCII characters. Searches are performed on characters, not individual
     bytes. In particular:

     .    Matches any character, including characters from supplementary
          code sets.

     [ ]  Matches any one character in the string enclosed by square brack-
          ets, or any one character with a code value within the range
          designated using a minus (-) sign. Literal characters and charac-
          ters specifying ranges may be selected from supplementary code
          sets. If the characters which denote the first and last character
          of a range are from different code sets, the range will only
          match one of these two characters.

     [^ ] Matches any one character which does not match the pattern
          enclosed in the brackets. Once again, literal characters and
          characters specifying ranges may be selected from supplementary
          code sets.

     Option:

     -i   Ignore uppercase/lowercase distinction during comparisons.  Valid
          for single byte ASCII characters (code set 0) only.

SEE ALSO
     ed(1).



















Page 1                       Reliant UNIX 5.44                      12, 196

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026