-   Linux - Newbie (
-   -   Error with Sed command (

296.saurabh 04-04-2020 07:19 AM

Error with Sed command
I am getting an error while using sed command

sed "3i\    "auth_url":$OS_AUTH_URL,\n    "region_name":$OS_REGION_NAME,\n    "endpoint_type":$OS_INTERFACE," -i "${ACCOUNTS_JSON}"
It gives an error:
sed: -e expression #1, char 45: unknown command: `,'

syg00 04-04-2020 07:26 AM

Duplicate - reported

rtmistler 04-04-2020 08:06 AM

Please continue working in your original thread with this added detail from it. No need to create a new thread as the problem evolves. This thread has been closed since your same post is already in that other thread.

All times are GMT -5. The time now is 08:41 AM.