make && sh test.sh cc -std=c99 -Wall -Wextra -Wpedantic -o2 trre_nft.c -o trre cc -std=c99 -Wall -Wextra -Wpedantic -o2 trre_dft.c -o trre_dft test.sh: 14: Syntax error: "(" unexpected
Then I ran one of the generator examples:
echo '' | trre -g ':(0|1){,3}?'
./trre: invalid option -- 'g' Usage: ./trre [-d] [-m] expr [file]
$ make && bash test.sh
with 'bash' instead.
For the second part it is a bug in the README. Thank you for pointing this out! I had to be more careful before the publication. Fixed. Try '-ma' flags instead.
$echo '' | trre -ma ':(0|1){,3}?'
Then I ran one of the generator examples:
And I got this error: