Bash - how to preserve newline in sed command output?
Assuming I have a file BookDB.txt which stores data in the following format : Harry Potter - The Half Blood Prince:J.K Rowling:40.30:10:50 The little Red Riding Hood:Dan Lin:40.80:20:10 Harry Potter - The Phoniex:J.K Rowling:50.00:30:20 Harry Potter - The Deathly Hollow:Dan Lin:55.00:33:790 Little Prince:The Prince:15.00:188:9 Lord of The Ring:Johnny Dept:56.80:100:38 Three Little Pig:Andrew Lim:89.10:290:189 All About Linux:Ubuntu Team:76.00:44:144 Catch Me If You Can:Mary Ann:23.60:6:2 Python for dummies:Jared Loo:15.99:1:10 I am trying to replace the (:) delimiter with (, ) in my output. It