Timeline for Getting multiple variables from the output of docker exec command in a bash script?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 24, 2024 at 2:01 | history | edited | jesse_b | CC BY-SA 4.0 |
added 390 characters in body
|
| Dec 23, 2024 at 23:10 | comment | added | Arkadiusz Drabczyk | The big disadvantage of this method is that you need to run sed for all lines, either manually or in a loop and what's worse manually control all variable names. | |
| Dec 23, 2024 at 23:08 | vote | accept | teeeeee | ||
| Dec 23, 2024 at 22:44 | comment | added | teeeeee | Thanks, can you explain what the "1q;d" syntax is doing exactly? | |
| Dec 23, 2024 at 22:41 | comment | added | Ortomala Lokni | @ArkadiuszDrabczyk you are right. I've updated my answer. | |
| Dec 23, 2024 at 22:40 | history | edited | Ortomala Lokni | CC BY-SA 4.0 |
added 6 characters in body
|
| Dec 23, 2024 at 22:33 | comment | added | Arkadiusz Drabczyk | Don't you need the double quotes somewhere here? | |
| Dec 23, 2024 at 22:24 | history | answered | Ortomala Lokni | CC BY-SA 4.0 |