yuzutech / kroki-cli

A Kroki CLI
MIT License
64 stars 6 forks source link

Errors on MacOS with ZSH #23

Closed uhlhosting closed 2 years ago

uhlhosting commented 2 years ago
22:42:55 [cosmic:~] % echo "eNpKyUwvSizIUHBXqPZIzcnJ17ULzy_KSakFBAAA__9sQAjG" | kroki decode -
digraph G {Hello->World}
zsh: parse error near `}'
22:43:11 [cosmic:~] 1 % $ echo "eNpKyUwvSizIUHBXqPZIzcnJ17ULzy_KSakFBAAA__9sQAjG" | kroki decode -
digraph G {Hello->World}

zsh: parse error near `}'
22:43:20 [cosmic:~] 1 % $ echo "eNpKyUwvSizIUHBXqPZIzcnJ17ULzy_KSakFBAAA__9sQAjG" | kroki decode - digraph G {Hello->World}

zsh: parse error near `}'
ggrossetie commented 2 years ago

Just to be sure, you are only executing the first part, right?

echo "eNpKyUwvSizIUHBXqPZIzcnJ17ULzy_KSakFBAAA__9sQAjG" | kroki decode -

The following is the output of the command:

digraph G {Hello->World}

I cannot reproduce this issue on similar environment unless I try to execute digraph G {Hello->World} as part of the command (which is an invalid command, hence the error).

ggrossetie commented 2 years ago

Closing since I cannot reproduce this issue and no additional information was provided.