I have had a requirement where I need to move data to a new line based on a text:Input:61: 456 B66666 :61: 878 N78777 :61: 534533534 BNNNOutput:61: 456 B66666:61: 878 N78777:61: 534533534 BNNNSo basically as soon as it encounters :61: it should move to a new line.
Replace text/string with new line
shell script;command line;command