I have a file with the following syntax:
and I would like to replace it with sed or awk this way:
slave_master: - '126.96.36.199' - '188.8.131.52'
The file file is few hundreds lines long and there are other such lines with other IP values which should not be affected. Is it possible to do it with on command? Thanks a lot.