9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <charles.forsyth@gmail.com>
To: 9fans <9fans@9fans.net>
Cc: kalterdev@gmail.com
Subject: Re: [9fans] grep: How to filter by plain, non-regexp, string?
Date: Mon, 30 Sep 2024 22:47:46 +0100	[thread overview]
Message-ID: <CAOw7k5ipQ4ONVLpuU6tDrfdLoVRHgkWP1owbVuY9V+-Bxp6GGQ@mail.gmail.com> (raw)
In-Reply-To: <2CBADB0D110E803F40887146B6F60CEE@oneiri.one>

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

one reason still to have groups like this is to post things like that so
that in some distant future,
you'll think "wait, i'm sure i read something about this" and look up
the details.
In the now very old days, one of the purposes of man pages was to pack as
much technical detail
as was feasible into a sort of book you could read through, not to memorise
but to remember that
you'd seen it somewhere (and where else would it be, then).

On Mon, 30 Sept 2024 at 22:06, <akw@oneiri.one> wrote:

> From grep(1):
> 
> Care should be taken when using the shell metacharacters
> $*[^|()=\ and newline in pattern; it is safest to enclose
> the entire expression in single quotes '...'.  An expression
> starting with '*' will treat the rest of the expression as
> literal characters.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tda469be3b0217207-M4bc3510d4528e83ac20487a7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2462 bytes --]

      reply	other threads:[~2024-09-30 21:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-30 20:56 kalterdev
2024-09-30 21:04 ` akw
2024-09-30 21:47   ` Charles Forsyth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOw7k5ipQ4ONVLpuU6tDrfdLoVRHgkWP1owbVuY9V+-Bxp6GGQ@mail.gmail.com \
    --to=charles.forsyth@gmail.com \
    --cc=9fans@9fans.net \
    --cc=kalterdev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).