Skip to content

Do not use echo -e when processing params#3

Merged
patrickcrocker merged 1 commit intonulldriver:masterfrom
keymon:fix_echo_e
Sep 19, 2017
Merged

Do not use echo -e when processing params#3
patrickcrocker merged 1 commit intonulldriver:masterfrom
keymon:fix_echo_e

Conversation

@keymon
Copy link

@keymon keymon commented Sep 18, 2017

Using echo -e would expand any escaped character (e.g. newlines: \n)
which will result in a invalid json that jq cannot parse, failing with
an error like:

parse error: Invalid string: control characters from U+0000 through
U+001F must be escaped at line 215, column 2

there is no reason to use echo -e, we want to process the raw params.

Using `echo -e` would expand any escaped character (e.g. newlines: \n)
which will result in a invalid json that jq cannot parse, failing with
an error like:

   parse error: Invalid string: control characters from U+0000 through
   U+001F must be escaped at line 215, column 2

there is no reason to use echo -e, we want to process the raw params.
@patrickcrocker patrickcrocker merged commit 2be6121 into nulldriver:master Sep 19, 2017
@patrickcrocker
Copy link
Member

This is shipped in version pivotalpa/cf-cli-resource:2.1.1

patrickcrocker pushed a commit that referenced this pull request Mar 20, 2019
Fix service_key extraction from options due to copy paste error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants