Skip to content

v5.2.0

Latest

Choose a tag to compare

@rothos rothos released this 30 Oct 02:38

ry -S finds words by how they sound, and lx -f/-a letters can go anywhere.

Words by sound

  • ry -S '.*sigh' gives words ending in the sound of "sigh", however they're spelled: "sigh", "psi", "bonsai". sigh.* starts with it, and .*shun.* has it anywhere.
  • Words stand for their sounds, so a bare word gives its homophones: ry -S night gives "knight" and "nite".
  • ., *, +, ?, |, () and {} work as in lx, and ARPAbet works in capitals: ry -S '.* SH AH N'. Stress doesn't count unless you give it (AY1).
  • A spelling expression and the usual filters narrow the results: ry -S '.*shun' '.*cian' gives "magician", "musician" and the like.

Letters

  • -f and -a now take their letters directly, so lx '....s' -f jslauy. works like lx -f jslauy. '....s'. Before, the first word was always taken as the letters. Bundles like -rf and -fr still work.
  • In a terminal, a search with no results says (no matches) rather than printing nothing.

See the README for more.