soimort / translate-shell

:speech_balloon: Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc.
https://www.soimort.org/translate-shell
The Unlicense
6.83k stars 387 forks source link

trans does not work on gawk 5.2 #465

Closed zetatez closed 1 year ago

zetatez commented 1 year ago
trans -e bing en:zh time

# gawk: /dev/fd/63:215: fatal: internal error: file interpret.h, line 254: unexpected parameter type Node_val
soimort commented 1 year ago

Closing as a duplicate of #463.

soimort commented 1 year ago

For now, downgrading to gawk 5.1.1 temporarily fixes this.

I was not able to reproduce #463 but I can reproduce this one on 5.2.0, so they might have separate but related causes. This definitely has something to do with gawk 5.2.

soimort commented 1 year ago

See https://github.com/soimort/translate-shell/issues/463#issuecomment-1282271847