Which one of the following command is used for replacing | with : globally?
(a) sed ‘s/|/:/’ emp.lst
(b) sed ‘/|/:/’ emp.lst
(c) sed ‘s/|/:/g’ emp.lst
(d) sed ‘s/
I have been asked this question in a national level competition.
I want to ask this question from sed command topic in portion Filters using Regular Expressions of Unix