Vidyalelo
Computer Science · Q859

UNIX

Engineering and GATE · Computer Science · question 859

Q859

What will be the function of the following command? sed ‘s/ *|/|/g’ emp.lst

A.
replace * with |
B.
replace / with |
C.
compress multiple spaces
Answer
D.
erroneous output

Answer: Option C

Solution

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