diff options
| author | J08nY | 2025-04-15 18:45:26 +0200 |
|---|---|---|
| committer | J08nY | 2025-04-15 18:45:26 +0200 |
| commit | acacd60723a7ce47b5d0de71a8caad3d9ab7ed93 (patch) | |
| tree | 3b7d44c305a60f7df8dca4bf1fd6fdaab9953bec | |
| parent | c85508b4766027cfc643f599b89d86d0df0a1782 (diff) | |
| download | ecgen-acacd60723a7ce47b5d0de71a8caad3d9ab7ed93.tar.gz ecgen-acacd60723a7ce47b5d0de71a8caad3d9ab7ed93.tar.zst ecgen-acacd60723a7ce47b5d0de71a8caad3d9ab7ed93.zip | |
Silent gp and filter the chars.
| -rw-r--r-- | test/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common.sh b/test/common.sh index dfbbe94..7d1ea22 100644 --- a/test/common.sh +++ b/test/common.sh @@ -45,5 +45,5 @@ get_pari_order() { p=$(canonical_num $(echo $1 | ${JSON} -x field\",\"p | cut -f 2)) a=$(canonical_num $(echo $1 | ${JSON} -x \"a | cut -f 2)) b=$(canonical_num $(echo $1 | ${JSON} -x \"b | cut -f 2)) - echo "ellcard(ellinit([${a}, ${b}], ${p}))" | gp -q 2>/dev/null + echo "ellcard(ellinit([${a}, ${b}], ${p}))" | gp -f -q | tr -cd [:digit:] 2>/dev/null }
\ No newline at end of file |
