9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: akw@oneiri.one
To: kalterdev@gmail.com, 9fans@9fans.net
Subject: Re: [9fans] grep: How to filter by plain, non-regexp, string?
Date: Mon, 30 Sep 2024 14:04:06 -0700	[thread overview]
Message-ID: <2CBADB0D110E803F40887146B6F60CEE@oneiri.one> (raw)
In-Reply-To: <17277298140.09bE8.203439@composer.9fans.topicbox.com>

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-M26a457a8f0766b0f62590605
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2024-09-30 21:04 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 [this message]
2024-09-30 21:47   ` Charles Forsyth

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=2CBADB0D110E803F40887146B6F60CEE@oneiri.one \
    --to=akw@oneiri.one \
    --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).