Hi the following bash command works on my terminal in mac but fails when run on the terminal in docker:
#!/bin/sh
{ echo "ar"; sleep 1; echo "br"; } | ./4icli configure
Please enter your API Client ID:
Please enter your API Client Secret:
Validating credentials...
An error occurred validating these credentials. Request failed with status code 400
This same command fails on the docker terminal with the following error:
Please enter your API Client ID: sh: 1: read: Illegal option -s
Very puzzled how to get around this issue.