Timeline for How to use sed with variable, when the variable is random (certificate) text
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 20, 2023 at 14:18 | history | edited | choroba | CC BY-SA 4.0 |
added 106 characters in body
|
| Jan 20, 2023 at 14:14 | comment | added | choroba | You can escape all the problematic characters in $var, but the other solution is much simpler. | |
| Jan 20, 2023 at 13:56 | comment | added | Francisco de Javier |
In fact, the certificate in the example contains / (I have updated the post with the result of the grep)
|
|
| Jan 20, 2023 at 13:41 | comment | added | terdon♦ |
Why is the newline the only problem? Are certificates guaranteed to never contain / or "?
|
|
| Jan 20, 2023 at 13:36 | history | answered | choroba | CC BY-SA 4.0 |