Answer the question
In order to leave comments, you need to log in
How do I replace characters in square brackets in sed?
there is
11.11.11.11 - - [22/May/2019:16:07:14 +0300] "GET /site/play?cam=358 HTTP/1.1" 301 253 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0"
11.11.11.11 - - [22.May.2019 16:07:14] "GET /site/play?cam=358 HTTP/1.1" 301 253 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0"
Answer the question
In order to leave comments, you need to log in
sed 's/\//./' | sed 's/\//./' | sed '0,/:/s// /' | sed '0,/\ +..../s///'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question