echo "121.122.121.111] other characters in logs from sendmail...." | sed 's/].*//'. So if you have a file full of lines like that you can do sed 's/].
DOWNLOAD: https://tinurli.com/2ehmnf
DOWNLOAD: https://tinurli.com/2ehmnf
bash-remove-everything-before-character
3925e8d270
Comments