Created
May 16, 2021 20:19
-
-
Save dspinellis/1fecb8e5d4a5c0935da7747df0f9ca85 to your computer and use it in GitHub Desktop.
Show lines (and color) endings that violate the Greek final-n omission rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Show lines (and color) endings that violate the Greek final-n omission rule | |
# Exit with a 0 success error code if such lines were found | |
# | |
egrep -i --color '\<(αυτήν|την|δεν|μην) ([^κπτξψαεηιουωάέήίόύώϊϋΐΰμνγ]|μ[^π]|ν[^τ]|γ[^κ])' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment