I have an use case, where i need to replace a placeholder using a string having []
and a $
and -
inside that.
example
[- $the_real_ip]/@@log_pattern@@
.
i need to replace my log pattern
using [- $the_real_ip]
using sed
. let me know if there is any option to do that.