Timeline for How to use sed with variable, when the variable is random (certificate) text
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 28, 2023 at 18:35 | comment | added | G-Man Says 'Reinstate Monica' | Related: Is it possible to escape regex metacharacters reliably with sed? (on Stack Overflow). | |
| Jan 24, 2023 at 8:22 | vote | accept | Francisco de Javier | ||
| Jan 20, 2023 at 21:17 | history | became hot network question | |||
| Jan 20, 2023 at 14:31 | answer | added | Kusalananda♦ | timeline score: 4 | |
| Jan 20, 2023 at 14:04 | answer | added | nezabudka | timeline score: 4 | |
| Jan 20, 2023 at 13:59 | comment | added | terdon♦ | Can you show us the full template you are using? While this is almost certainly possible with sed, it will be easier using more sophisticated tools, but we'd need the full picture to be able to help. | |
| Jan 20, 2023 at 13:58 | comment | added | terdon♦ |
Irrelevant to your main issue, but there is no need for cat, you can give grep a file, and there is also no need to escape a /, it doesn't have any special meaning in regular expressions, so you could just do grep / ca.crt.
|
|
| Jan 20, 2023 at 13:55 | history | edited | Francisco de Javier | CC BY-SA 4.0 |
added 660 characters in body
|
| Jan 20, 2023 at 13:36 | answer | added | choroba | timeline score: 2 | |
| Jan 20, 2023 at 13:34 | comment | added | Kamil Maciorowski |
Closely related: What characters do I need to escape when using sed in a sh script?
|
|
| Jan 20, 2023 at 13:22 | history | edited | Francisco de Javier | CC BY-SA 4.0 |
edited title
|
| Jan 20, 2023 at 13:16 | history | asked | Francisco de Javier | CC BY-SA 4.0 |