From: Dave Horsfall <dave@horsfall.org>
To: Computer Old Farts Followers <coff@tuhs.org>
Subject: [COFF] Grep has gone overboard
Date: Mon, 30 May 2022 14:12:30 +1000 (EST) [thread overview]
Message-ID: <alpine.BSF.2.21.9999.2205301356510.35567@aneurin.horsfall.org> (raw)
I remember when the documentation was easy to read, but now...
I'm trying to find a regex i.e. as used by GREP to find all words in
"badugly" with each letter used only once and all are 7-letter words i.e.
they are all anagrams; perhaps it's my age (I hit 70 soon, after decades
in Unix) but I cannot seem to find a way to restrict the count i.e. each
letter used only once, but in any order.
I'll guess that it involves some obscure use of "{}*\" etc, which I've
never really grokked...
Ta muchly.
-- Dave
next reply other threads:[~2022-05-30 4:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-30 4:12 Dave Horsfall [this message]
2022-05-30 4:47 ` [COFF] " Bakul Shah
2022-05-30 6:35 ` Michael Kjörling
2022-05-30 6:51 ` Bakul Shah
2022-05-30 8:26 ` Ralph Corderoy
2022-05-30 8:01 ` Ralph Corderoy
2022-05-30 8:16 ` Ralph Corderoy
2022-05-30 8:43 ` Bakul Shah
2022-05-30 9:19 ` Ralph Corderoy
2022-05-30 7:38 ` Ralph Corderoy
2022-05-30 7:44 ` Ralph Corderoy
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=alpine.BSF.2.21.9999.2205301356510.35567@aneurin.horsfall.org \
--to=dave@horsfall.org \
--cc=coff@tuhs.org \
/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).