confluentinc / confluentinc/kafka-tutorials

Shell dependency

Open
#89 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
39
Forks
91
PR merge metrics
No merged PRs in 30d

Description

Do we need to call out the dependency on `bash`? For example, this doesn't work in `fish`:

```
$ statements=$(< src/statements.sql) && \
echo '{"ksql":"'$statements'", "streamsProperties": {}}' | \
curl -X "POST" "http://localhost:8088/ksql" \
-H "Content-Type: application/vnd.ksql.v1+json; charset=utf-8" \
-d @- | \
jq
fish: Unsupported use of '&&'. In fish, please use 'COMMAND; and COMMAND'.
statements=$(< src/statements.sql) && \
^
```

Or is it sufficient to consider that any dev using a weird shell will be sufficiently aware of stuff like this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.