Our dearest script that everyone uses in the modern #neuralempty revolution in machine translation is multi-bleu.perl
But consider this:
alvas@ubi:~/git/mosesdecoder/scripts/generic$ perl multi-bleu.perl
Use of uninitialized value $ARGV[0] in string eq at multi-bleu.perl line 11.
usage: multi-bleu.pl [-lc] reference < hypothesis
Reads the references from reference or reference0, reference1, ...
alvas@ubi:~/git/mosesdecoder/scripts/generic$ python3 -c "open('hyp.txt', 'w').write('foo bar\n')"