Qiskit / openqasm3_parser

Parser and semantic analyzer for the OpenQASM3 language
Apache License 2.0
10 stars 11 forks source link

Fix broken pipe in run_tests_less.sh. #219

Closed dlyongemallo closed 4 months ago

dlyongemallo commented 4 months ago

Running the script (prior to this PR) results in: ./run_tests_less.sh: 12: Syntax error: "&" unexpected.

This is because plain sh (Bourne shell) does not support the bash shorthand |& for 2>&1 |.

jlapeyre commented 4 months ago

Thanks! I forgot about this bash-ism.