How do I remove exact strings using sed
, tr
or awk
{98406c4acbf0f57b3ccbc923a6d507f422d9bd8656398f53433e}HTTP/1.0 200 OK
What I want to remove is HTTP/1.0 200 OK
I tried to do sed
but there is a Forward Slash that prevent me form removing the exact string. Also, when I used tr
it removes all letter matches not an exact string.
/
is an issue, either escape it or use a diffrent "delimeter" in your sed command – Bravo Nov 24 '21 at 23:53/
inside a bracket group, try e.g.echo a/b |sed -e 's,/,x,'
or... | sed -e 's/[/]/x/'
– ilkkachu Nov 24 '21 at 23:55sed 's/HTTP\/1.0\ 200\ OK//g'
– iis2h Nov 24 '21 at 23:58