Vidyalelo
Computer Science · Q662

UNIX

Engineering and GATE · Computer Science · question 662

Q662

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
Answer
D.
sed 's/

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board