In zsh and bash, a multi-line named pipe, who is wrapped by parenthesis, is possible to mismatch the right parenthesis, even that parenthesis is in a here-document. So, we move the code into a function, and use an inline named pipe. Signed-off-by: ohmystack <jiangjun1990@gmail.com>
6.7 KiB
6.7 KiB