Answer the question
In order to leave comments, you need to log in
How to transfer ip using sed and substitute before a comma?
There is a 1.txt file with the following content:
mail.yandex.net,
mail.mail.ru,
88.88.88.88
mail.mail1.ru,
mail.asdl2.ru,
mail.asd.ru,
77.77.88.88
....
I I want to substitute IP before a comma. As a result, I want to get such a file.
mail.yandex.net,
mail.mail.ru, 88.88.88.88
mail.mail1.ru,
mail.mail2.ru,
mail.mail3.ru, 77.77.88.88
....
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question