How to delete all characters in one line after "]" with sed ?
Im trying to grep some file using cat, awk. Now my oneliner returns me something like
18.104.22.168] other characters in logs from sendmail.... :)
Now I want to delete all after "]" character (with "]"). I want only
22.214.171.124 in my output.
I was googling for that particular example of sed but didn't find any help in those examples.