Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Christina ✅ 🇨🇦 (cosullivan@mastodon.sdf.org)'s status on Sunday, 24-Jun-2018 13:30:29 EDT Christina ✅ 🇨🇦 Christina ✅ 🇨🇦

    @saper
    No, I wanted an awk command for two pattern-match expressions I could adapt.

    In the below example, I can vary the word length by changing the digit after == in the first expression, and I can use [^aiouy] to match any consonant plus an e, place those and known consonants and es between the (/ /) to get a list of possible matches, for a crossword puzzle.

    awk '(length($1) == 6) && (/s[^aiouy]ee[^aiouy]e/) { print $1 }' efile.txt

    @dbucklin

    In conversation Sunday, 24-Jun-2018 13:30:29 EDT from mastodon.sdf.org permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.