You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just noticed that the lemma generation test does not seem to like the --exclude option, at least not as it is used in the generate-POS-lemmas.sh scripts. For example, in lang-sma/src/fst/morphology/test, I get this error when running make devtest:
TEST: generate-noun-lemmas.sh
grep: unrecognized option '--exclude (CmpN/Only| R | Rreal |\+Gen\+|\+Der\+|\+CmpN\/Suff|\+Use\/MT)'
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
Digging a bit into this revealed that:
--exclude should be used with =
--exclude is used for excluding certain files, but we want to exclude certain patterns, so it is not suitable anyways.
Most guides suggest piping from grep into grep -v to exclude patterns, as grep does not do both (inclusion and exclusion matching) in a single run.
(I put this issue here as it concerns all the lang- repositories, not one in particular. Please move if it should rather be put under another repo.)
The text was updated successfully, but these errors were encountered:
I have just noticed that the lemma generation test does not seem to like the
--exclude
option, at least not as it is used in thegenerate-POS-lemmas.sh
scripts. For example, inlang-sma/src/fst/morphology/test
, I get this error when runningmake devtest
:Digging a bit into this revealed that:
--exclude
should be used with=
--exclude
is used for excluding certain files, but we want to exclude certain patterns, so it is not suitable anyways.Most guides suggest piping from
grep
intogrep -v
to exclude patterns, as grep does not do both (inclusion and exclusion matching) in a single run.(I put this issue here as it concerns all the
lang-
repositories, not one in particular. Please move if it should rather be put under another repo.)The text was updated successfully, but these errors were encountered: