Skip to content

Instantly share code, notes, and snippets.

@b0o
Created July 16, 2020 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b0o/2767bf508ea426d4cbe4fac2d4be716f to your computer and use it in GitHub Desktop.
Save b0o/2767bf508ea426d4cbe4fac2d4be716f to your computer and use it in GitHub Desktop.
vowel-words
#!/bin/bash
awk 'tolower($0) ~ /^[b-df-hj-np-tv-z]*a[b-df-hj-np-tv-z]*e[b-df-hj-np-tv-z]*i[b-df-hj-np-tv-z]*o[b-df-hj-np-tv-z]*u[b-df-hj-np-tv-z]*$/{ print $0 }' words.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment