|
| From: | Oğuz |
| Subject: | yet another $(case ... parse bug |
| Date: | Thu, 23 May 2024 20:19:49 +0300 |
See:
$ bash -c 'for (( $(case x in x) esac);; )); do :; done'
bash: -c: line 1: syntax error: `;' unexpected
bash: -c: line 1: syntax error: `(( $(case x in x)
;;
esac);; ))'
This is reproducible on 5.3 alpha too.
Oğuz
| [Prev in Thread] | Current Thread | [Next in Thread] |