Q:

Which one of the following command is used for replacing | with : globally?

0

Which one of the following command is used for replacing | with : globally?


  1. sed ‘s/|/:/’ emp.lst
  2. sed ‘/|/:/’ emp.lst
  3. sed ‘s/|/:/g’ emp.lst
  4. sed ‘s/

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (c).sed ‘s/|/:/g’ emp.lst

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

UNIX - FILTERS AND REGULAR EXPRESSIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
To replace the string ‘director’ in the first ... >>
<< Which one of the following is the correct syntax f...